summaryrefslogtreecommitdiff
path: root/lib/stream.c
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2020-07-30 18:16:16 +0200
committerPhilippe Guibert <philippe.guibert@6wind.com>2021-02-11 09:06:32 +0100
commita3e520f37b084fe759da16f367f6a32f6f7e42a8 (patch)
tree80666275574931a4537269fa0950dc3aeb5cc23a /lib/stream.c
parentef91ff04681ff3a7d17b985a02003ed308a363ab (diff)
nhrpd: replace nhrp route nexthop with onlink route when prefix=nh
There are cases where nhrp wants to create a nhrp route to gre interface with the nexthop which is the same the prefix. This is the case with ipv6: ipv6 route a:ff::ff:4/128 via a:ff::ff:4:/128 dev gre1 This route entry is false from zebra point of view, and to avoid that, the nexthop is ignored in nhrp only if the prefix equals the nexthop. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'lib/stream.c')
0 files changed, 0 insertions, 0 deletions