Skip to content

Commit

Permalink
fix OSPF SR node-sid
Browse files Browse the repository at this point in the history
  • Loading branch information
GIC-de committed Nov 8, 2023
1 parent c98df68 commit 34d48d3
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 @@ -1277,7 +1277,7 @@ ospf_lsa_extended_prefix_update(ospf_instance_s *ospf_instance)
*(uint16_t*)(tlv->value+8) = htobe16(2);
*(uint16_t*)(tlv->value+10) = htobe16(8);
*(uint32_t*)(tlv->value+12) = 0;
*(uint32_t*)(tlv->value+16) = 0;
*(uint32_t*)(tlv->value+16) = htobe32(config->sr_node_sid);

hdr->length = htobe16(lsa->lsa_len);
ospf_lsa_refresh(lsa);
Expand Down

0 comments on commit 34d48d3

Please sign in to comment.