diff options
| author | Mark Stapp <mjs@voltanet.io> | 2019-06-11 13:47:15 -0400 | 
|---|---|---|
| committer | Mark Stapp <mjs@voltanet.io> | 2019-06-12 11:37:05 -0400 | 
| commit | e65fe398f6ba1a47a04793f7e25d6557ee705b7f (patch) | |
| tree | d3d4ab2b74687c150852bc2d3c8dceebbdc8d91c /bgpd/bgp_mplsvpn.h | |
| parent | afbdfbb69bcf1d50cc07e59e91829866d766618f (diff) | |
bgpd: auto router-id should not change configured vpn RD/RT
A router-id change that isn't explicitly configured (a change
from zebra, for example) should not replace a configured vpn
RD/RT.
Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'bgpd/bgp_mplsvpn.h')
| -rw-r--r-- | bgpd/bgp_mplsvpn.h | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/bgpd/bgp_mplsvpn.h b/bgpd/bgp_mplsvpn.h index 1526a8111e..2a6c0e1708 100644 --- a/bgpd/bgp_mplsvpn.h +++ b/bgpd/bgp_mplsvpn.h @@ -264,6 +264,7 @@ extern void vpn_policy_routemap_event(const char *rmap_name);  extern vrf_id_t get_first_vrf_for_redirect_with_rt(struct ecommunity *eckey);  extern void vpn_leak_postchange_all(void); -extern void vpn_handle_router_id_update(struct bgp *bgp, bool withdraw); +extern void vpn_handle_router_id_update(struct bgp *bgp, bool withdraw, +					bool is_config);  #endif /* _QUAGGA_BGP_MPLSVPN_H */  | 
