]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_route.c
If the received MP nexthop is a martian address, treat the update as
authorDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 12 Jun 2015 14:59:09 +0000 (07:59 -0700)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 12 Jun 2015 14:59:09 +0000 (07:59 -0700)
commitc265ee22c8a076ba56a05a2f7279066eb0129bea
tree9acad7837a1b82caab2a70262c4691ae390c0f5c
parent276468936b08068d91b7f8edc1c7e89762e13c35
If the received MP nexthop is a martian address, treat the update as
an implicit withdraw as is done for the NEXT_HOP attribute in the
update itself.

Note: Check is implemented only for IPv6 for the global nexthop. The
code will quietly ignore an invalid IPv6 link-local nexthop, if present;
this is the existing behavior and is not changed.

Signed-off-by: Vivek Venkataraman <vivek@cumulusnetworks.com>
Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
Reviewed-by: Daniel Walton <dwalton@cumulusnetworks.com>
bgpd/bgp_route.c