]> git.puffer.fish Git - matthieu/frr.git/commit
lib: fix removing access/prefix lists
authorIgor Ryzhov <iryzhov@nfware.com>
Fri, 26 Jan 2024 14:57:41 +0000 (16:57 +0200)
committerChristian Hopps <chopps@labn.net>
Fri, 26 Jan 2024 17:34:23 +0000 (12:34 -0500)
commit1bf395232de224bec841c01a1b6c67bce5b525bc
tree4f5966247f3f1d91413bd4bbe7a37f621608b752
parente39b60bac1e8f99ad9053e7d7d7cb73c2f1cc414
lib: fix removing access/prefix lists

CLI for access/prefix list removal was using `nb_cli_apply_changes`
multiple times in the same command. It's fine for regular daemons but
not for mgmtd. Refactor the code to apply changes only once.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
lib/filter_cli.c