summaryrefslogtreecommitdiff
path: root/lib/lua.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-09-25 15:25:51 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-09-25 15:30:23 -0400
commit85751d1d332eef13fe9d382682184bd7c3037a4a (patch)
tree676f0bbfadc2b441c7d5fcffe924c307ff403cb3 /lib/lua.c
parent38ca1c92564235884a4e6cf2227293cbd1b27996 (diff)
bgpd: Don't necessarily ignore interface callbacks
In bgp if we have not configured bgp we were ignoring interface based callbacks. Leading to states where we may not be processing interface information. Leading to states where we do not actually keep ifp data. As an example: Suppose vrf A and vrf B. A has interface swp1. At the same time we only have a `router bgp 9 vrf B` When we received the callback for moving swp1 from vrf A to vrf B we were not processing the move at all and BGP would not consider the interface part of vrf B at all. This commit makes bgp pay attention to interface events irrelevant if bgp is using that vrf. This is now consistent with how the lib/if* expects to work and the rest of the daemons in FRR. Signed-off-by: Donald Sharp <sharpd@cumulsnetworks.com>
Diffstat (limited to 'lib/lua.c')
0 files changed, 0 insertions, 0 deletions