From: Quentin Young Date: Mon, 29 Oct 2018 14:08:45 +0000 (+0000) Subject: bgpd: fix small error in community-list patch X-Git-Tag: frr-7.1-dev~180^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=3c4b8fe21fe46ea8820a8f27f8dca56773ecbc3c;p=matthieu%2Ffrr.git bgpd: fix small error in community-list patch Couldn't delete an expanded community-list by name alone Signed-off-by: Quentin Young --- diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c index fd7b8f445b..85b6414e48 100644 --- a/bgpd/bgp_vty.c +++ b/bgpd/bgp_vty.c @@ -14140,6 +14140,7 @@ DEFUN (no_community_list_expanded_all, zlog_warn("Deprecated option: 'no ip community-list <(1-99)|(100-500)|standard|expanded> AA:NN' being used"); } + idx = 0; argv_find(argv, argc, "permit", &idx); argv_find(argv, argc, "deny", &idx);