summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_evpn_vty.c
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2018-03-13 10:20:29 +0100
committerGitHub <noreply@github.com>2018-03-13 10:20:29 +0100
commitc1a003878246ccc84ab5986558ca959f4545f738 (patch)
treece21bb09357d06dba932a5768257ce28028bba5f /bgpd/bgp_evpn_vty.c
parentMerge pull request #1860 from qlyoung/debug-mt-safe (diff)
parentMerge branch 'master' of https://github.com/frrouting/frr into evpn-ipv6-tena... (diff)
downloadfrr-c1a003878246ccc84ab5986558ca959f4545f738.tar.xz
frr-c1a003878246ccc84ab5986558ca959f4545f738.zip
Merge pull request #1806 from vivek-cumulus/evpn-ipv6-tenant-routing
*: EVPN symmetric routing for IPv6 tenant routes
Diffstat (limited to 'bgpd/bgp_evpn_vty.c')
-rw-r--r--bgpd/bgp_evpn_vty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_evpn_vty.c b/bgpd/bgp_evpn_vty.c
index 401529184..58487a682 100644
--- a/bgpd/bgp_evpn_vty.c
+++ b/bgpd/bgp_evpn_vty.c
@@ -2842,7 +2842,7 @@ DEFUN (no_bgp_evpn_advertise_type5,
argv_find_and_parse_afi(argv, argc, &idx_afi, &afi);
argv_find_and_parse_safi(argv, argc, &idx_safi, &safi);
- if (!(afi == AFI_IP) || (afi == AFI_IP6)) {
+ if (!(afi == AFI_IP || afi == AFI_IP6)) {
vty_out(vty,
"%%only ipv4 or ipv6 address families are supported");
return CMD_WARNING;