Skip to content

Commit

Permalink
fix OSPF loading
Browse files Browse the repository at this point in the history
  • Loading branch information
GIC-de committed Feb 20, 2024
1 parent 8f652fb commit 30a0ebf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/bngblaster/src/ospf/ospf_lsa.c
Original file line number Diff line number Diff line change
Expand Up @@ -1748,7 +1748,7 @@ ospf_lsa_update_handler_rx(ospf_interface_s *ospf_interface,
LOG(OSPF, "OSPF RX TYPE-%u-LSA %s (seq %u router %s) overwrite external LSA with seq %u\n",
lsa_type, format_ipv4_address(&lsa_id), be32toh(hdr->seq),
format_ipv4_address(&lsa_router), lsa->seq);
} else if(lsa_type == OSPF_LSA_TYPE_1 && lsa->source.type == OSPF_SOURCE_SELF) {
} else if(lsa->source.type == OSPF_SOURCE_SELF) {
lsa->seq = be32toh(hdr->seq);
ospf_lsa_self_update(ospf_instance);
continue;
Expand Down

0 comments on commit 30a0ebf

Please sign in to comment.