diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2024-11-17 11:19:19 +0200 |
|---|---|---|
| committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2024-11-17 11:19:19 +0200 |
| commit | af4f6f4395c70af4235cbbda32a2e7b122cc0fc8 (patch) | |
| tree | 1e3a1ff77e2123fb2d94b1ca9611c28cbb42aa37 /lib/json.c | |
| parent | a5755342e2827e6764225fd075194c2c7dccfc7f (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/json.c')
0 files changed, 0 insertions, 0 deletions
