From: Donatas Abraitis Date: Tue, 27 Sep 2022 18:39:50 +0000 (+0300) Subject: vtysh: Show allow-reserved-ranges once in config X-Git-Tag: base_8.4~5^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=refs%2Fpull%2F12036%2Fhead;p=mirror%2Ffrr.git 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 --- diff --git a/vtysh/vtysh_config.c b/vtysh/vtysh_config.c index a2a0ac1b08..d98f83dbf6 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 ||