mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-08 12:49:18 +00:00
Merge pull request #5221 from dslicenc/remove-afi-saf-msg-72
bgpd: 7.2 - remove error message for unkown afi/safi combination
This commit is contained in:
commit
ee1b470b9f
@ -159,11 +159,9 @@ static const char *get_afi_safi_vty_str(afi_t afi, safi_t safi)
|
||||
return "IPv6 Flowspec";
|
||||
else if (afi == AFI_L2VPN && safi == SAFI_EVPN)
|
||||
return "L2VPN EVPN";
|
||||
else {
|
||||
flog_err(EC_LIB_DEVELOPMENT, "New afi/safi that needs to be taken care of?");
|
||||
else
|
||||
return "Unknown";
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Please note that we have intentionally camelCased
|
||||
@ -199,11 +197,9 @@ static const char *get_afi_safi_json_str(afi_t afi, safi_t safi)
|
||||
return "ipv6Flowspec";
|
||||
else if (afi == AFI_L2VPN && safi == SAFI_EVPN)
|
||||
return "l2VpnEvpn";
|
||||
else {
|
||||
flog_err(EC_LIB_DEVELOPMENT, "New afi/safi that needs to be taken care of?");
|
||||
else
|
||||
return "Unknown";
|
||||
}
|
||||
}
|
||||
|
||||
/* Utility function to get address family from current node. */
|
||||
afi_t bgp_node_afi(struct vty *vty)
|
||||
|
Loading…
Reference in New Issue
Block a user