Use "get" as the name for checking the status of the bgp
accept lower seq knob. This already has an equivalent "set"
so makes sense to keep it consistent.
Signed-off-by: Stephen Worley <sworley@nvidia.com>
/* 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(
/* 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(
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 */
accept_bgp_seq = set;
}
-bool zebra_vxlan_accept_bgp_seq(void)
+bool zebra_vxlan_get_accept_bgp_seq(void)
{
return accept_bgp_seq;
}
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
}