summaryrefslogtreecommitdiff
path: root/lib/buffer.h
diff options
context:
space:
mode:
authorAlexander Chernavin <achernavin@netgate.com>2020-08-25 07:10:47 -0400
committerAlexander Chernavin <achernavin@netgate.com>2020-08-25 07:24:13 -0400
commitf52a961ac888cc627f7e4161fcc5f0b7af7026e6 (patch)
tree40b8e563e0390df81b3bc3d36cc6b202ab6cfd3f /lib/buffer.h
parent310451ba9712f2d4483bd976a968cd4b6d19477f (diff)
bgpd: withdraw default route when route-map has no match
If you advertise a default route (via default-originate) only if some prefix is present in the BGP RIB (route-map specified) and this prefix becomes unavailable, the default route keeps being advertised. With this change, when we iterate over the BGP RIB to check if we can advertise the default route, skip unavailable prefixes. Signed-off-by: Alexander Chernavin <achernavin@netgate.com>
Diffstat (limited to 'lib/buffer.h')
0 files changed, 0 insertions, 0 deletions