summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2021-06-30 10:52:29 +0200
committerPhilippe Guibert <philippe.guibert@6wind.com>2021-07-12 13:57:36 +0200
commit654a5978f695087af062bfc9a382321fa2ccc4ae (patch)
treec76799ad69a06714dbb30253e025a04983c2c6d1 /lib/command.c
parent507559a089a7ba539b90c4bb1cd0410a4b4b1345 (diff)
bgpd: prevent routes loop through itself
Some BGP updates received by BGP invite local router to install a route through itself. The system will not do it, and the route should be considered as not valid at the earliest. This case is detected on the zebra, and this detection prevents from trying to install this route to the local system. However, the nexthop tracking mechanism is called, and acts as if the route was valid, which is not the case. By detecting in BGP that use case, we avoid installing the invalid routes. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'lib/command.c')
0 files changed, 0 insertions, 0 deletions