summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2022-09-27 20:39:50 +0200
committerDonatas Abraitis <donatas@opensourcerouting.org>2022-09-27 20:41:24 +0200
commitac67c0e4c7bf0aeb3a20cc02fa01c92f6035d1c4 (patch)
treeeedd48e527cedc9c7d9daaf85bd4bb952c154c48
parentMerge pull request #11990 from spk-hebbar/patch-1 (diff)
downloadfrr-ac67c0e4c7bf0aeb3a20cc02fa01c92f6035d1c4.tar.xz
frr-ac67c0e4c7bf0aeb3a20cc02fa01c92f6035d1c4.zip
vtysh: Show allow-reserved-ranges once in config
Before: ``` donatas-pc# sh run | include allow-reserved-ranges allow-reserved-ranges allow-reserved-ranges allow-reserved-ranges allow-reserved-ranges allow-reserved-ranges allow-reserved-ranges donatas-pc# ``` Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
-rw-r--r--vtysh/vtysh_config.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/vtysh/vtysh_config.c b/vtysh/vtysh_config.c
index a2a0ac1b0..d98f83dbf 100644
--- a/vtysh/vtysh_config.c
+++ b/vtysh/vtysh_config.c
@@ -483,6 +483,8 @@ void vtysh_config_parse_line(void *arg, const char *line)
0 ||
strncmp(line, "domainname", strlen("domainname")) ==
0 ||
+ strncmp(line, "allow-reserved-ranges",
+ strlen("allow-reserved-ranges")) == 0 ||
strncmp(line, "frr", strlen("frr")) == 0 ||
strncmp(line, "agentx", strlen("agentx")) == 0 ||
strncmp(line, "no log", strlen("no log")) == 0 ||