From: Donald Sharp Date: Thu, 4 Jun 2020 00:01:48 +0000 (-0400) Subject: lib: Allow deletion of some access-lists X-Git-Tag: base_7.5~313^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=4eeb00b02084990dea728862552c3bca0c03f090;p=mirror%2Ffrr.git lib: Allow deletion of some access-lists Recent rework of access lists to allow sequence numbers accidently introduced the inability to delete some access lists. Signed-off-by: Donald Sharp --- diff --git a/lib/filter.c b/lib/filter.c index 4a83b8b043..d61b03cbe2 100644 --- a/lib/filter.c +++ b/lib/filter.c @@ -868,7 +868,7 @@ DEFUN (no_access_list_standard, "Address to match\n" "Wildcard bits\n") { - int idx_acl = 1; + int idx_acl = 2; int idx = 0; char *seq = NULL; char *permit_deny = NULL; @@ -1949,7 +1949,7 @@ DEFUN (no_mac_access_list, mac = argv[idx]->arg; assert(mac); - return filter_set_zebra(vty, argv[2]->arg, seq, permit_deny, AFI_L2VPN, + return filter_set_zebra(vty, argv[3]->arg, seq, permit_deny, AFI_L2VPN, mac, 0, 0); }