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);