From 4179f151fe80584167dbeeb260144d0cfa171f16 Mon Sep 17 00:00:00 2001 From: Igor Ryzhov Date: Tue, 30 Mar 2021 00:37:52 +0300 Subject: lib: fix checking for duplicated prefix-list entries Restore the behavior that was before the NB conversion. Signed-off-by: Igor Ryzhov --- lib/filter_cli.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/filter_cli.c') diff --git a/lib/filter_cli.c b/lib/filter_cli.c index 0c49665fd4..24980f7858 100644 --- a/lib/filter_cli.c +++ b/lib/filter_cli.c @@ -1336,6 +1336,7 @@ DEFPY_YANG( if (seq_str == NULL) { pda.pda_type = "ipv4"; pda.pda_name = name; + pda.pda_action = action; if (prefix_str) { pda.pda_xpath[arg_idx] = "./ipv4-prefix"; pda.pda_value[arg_idx] = prefix_str; @@ -1531,6 +1532,7 @@ DEFPY_YANG( if (seq_str == NULL) { pda.pda_type = "ipv6"; pda.pda_name = name; + pda.pda_action = action; if (prefix_str) { pda.pda_xpath[arg_idx] = "./ipv6-prefix"; pda.pda_value[arg_idx] = prefix_str; -- cgit v1.2.3