diff options
-rw-r--r-- | zebra/zebra_evpn_mac.c | 2 | ||||
-rw-r--r-- | zebra/zebra_evpn_neigh.c | 2 | ||||
-rw-r--r-- | zebra/zebra_vty.c | 2 | ||||
-rw-r--r-- | zebra/zebra_vxlan.c | 2 | ||||
-rw-r--r-- | zebra/zebra_vxlan.h | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/zebra/zebra_evpn_mac.c b/zebra/zebra_evpn_mac.c index f0d256e28..218184ad0 100644 --- a/zebra/zebra_evpn_mac.c +++ b/zebra/zebra_evpn_mac.c @@ -1642,7 +1642,7 @@ static inline bool zebra_evpn_mac_is_bgp_seq_ok(struct zebra_evpn *zevpn, /* if the mac was never advertised to bgp we must accept * whatever sequence number bgp sends */ - if (!is_local && zebra_vxlan_accept_bgp_seq()) { + if (!is_local && zebra_vxlan_get_accept_bgp_seq()) { if (IS_ZEBRA_DEBUG_EVPN_MH_MAC || IS_ZEBRA_DEBUG_VXLAN) { zlog_debug( diff --git a/zebra/zebra_evpn_neigh.c b/zebra/zebra_evpn_neigh.c index 5044d2f6c..684720bb4 100644 --- a/zebra/zebra_evpn_neigh.c +++ b/zebra/zebra_evpn_neigh.c @@ -527,7 +527,7 @@ bool zebra_evpn_neigh_is_bgp_seq_ok(struct zebra_evpn *zevpn, /* if the neigh was never advertised to bgp we must accept * whatever sequence number bgp sends */ - if (!is_local && zebra_vxlan_accept_bgp_seq()) { + if (!is_local && zebra_vxlan_get_accept_bgp_seq()) { if (IS_ZEBRA_DEBUG_EVPN_MH_NEIGH || IS_ZEBRA_DEBUG_VXLAN) zlog_debug( diff --git a/zebra/zebra_vty.c b/zebra/zebra_vty.c index a95e07d95..77922d2fc 100644 --- a/zebra/zebra_vty.c +++ b/zebra/zebra_vty.c @@ -3966,7 +3966,7 @@ static int config_write_protocol(struct vty *vty) zebra_pbr_config_write(vty); - if (!zebra_vxlan_accept_bgp_seq()) + if (!zebra_vxlan_get_accept_bgp_seq()) vty_out(vty, "no evpn accept-bgp-seq\n"); /* Include nexthop-group config */ diff --git a/zebra/zebra_vxlan.c b/zebra/zebra_vxlan.c index 6954c63af..f1c7debe1 100644 --- a/zebra/zebra_vxlan.c +++ b/zebra/zebra_vxlan.c @@ -6293,7 +6293,7 @@ void zebra_vxlan_set_accept_bgp_seq(bool set) accept_bgp_seq = set; } -bool zebra_vxlan_accept_bgp_seq(void) +bool zebra_vxlan_get_accept_bgp_seq(void) { return accept_bgp_seq; } diff --git a/zebra/zebra_vxlan.h b/zebra/zebra_vxlan.h index 1d777e39f..121e5633d 100644 --- a/zebra/zebra_vxlan.h +++ b/zebra/zebra_vxlan.h @@ -226,7 +226,7 @@ extern int zebra_vxlan_dp_network_mac_del(struct interface *ifp, vlanid_t vid); extern void zebra_vxlan_set_accept_bgp_seq(bool set); -extern bool zebra_vxlan_accept_bgp_seq(void); +extern bool zebra_vxlan_get_accept_bgp_seq(void); #ifdef __cplusplus } |