summaryrefslogtreecommitdiff
path: root/lib/segment_routing.c
diff options
context:
space:
mode:
authorzmw12306 <zmw12306@gmail.com>2025-03-31 00:01:30 -0400
committerzmw12306 <zmw12306@gmail.com>2025-03-31 00:01:30 -0400
commitc2e69624baae9563fa4342c9ade19f9fec8fb0ce (patch)
tree2821f2c7f984eed9adb6ca8c5cb47d19d0303eec /lib/segment_routing.c
parent44c4743e08710fd9dda12105ff6fbec2547faf51 (diff)
babeld: Add input validation for update TLV.
1. If the metric is infinite and AE is 0, Plen and Omitted MUST both be 0 2. Use INFINITY to replace 0xFFFF 3. Ignore unkown ae 4. If the metric field if 0xFFFF, a retraction happens So it is acceptable for no router_id when metric is 0xFFFF while ae is not 0. Signed-off-by: zmw12306 <zmw12306@gmail.com>
Diffstat (limited to 'lib/segment_routing.c')
0 files changed, 0 insertions, 0 deletions