summaryrefslogtreecommitdiff
path: root/lib/printf/printf-pos.c
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2024-11-17 11:16:05 +0200
committerDonatas Abraitis <donatas@opensourcerouting.org>2024-11-17 11:16:05 +0200
commit863d1ddc2182e21fab938470fb094aa3d144d473 (patch)
tree96d51b89b5bc95573513fbe7909281cf717f153a /lib/printf/printf-pos.c
parent22746b8d59e6e6cb77ced61bc9e0cff2ead227b5 (diff)
bgpd: Validate both nexthop information (NEXTHOP and NLRI)
If we receive an IPv6 prefix e.g.: 2001:db8:100::/64 with nextop: 0.0.0.0, and mp_nexthop: fc00::2, we should not treat this with an invalid nexthop because of 0.0.0.0. We MUST check for MP_REACH attribute also and decide later if we have at least one a valid nexthop. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org> (cherry picked from commit a0d2734e879f78fbef5f1815429de331b9940c73)
Diffstat (limited to 'lib/printf/printf-pos.c')
0 files changed, 0 insertions, 0 deletions