diff options
author | Donatas Abraitis <donatas@opensourcerouting.org> | 2022-09-27 20:39:50 +0200 |
---|---|---|
committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2022-09-27 20:41:24 +0200 |
commit | ac67c0e4c7bf0aeb3a20cc02fa01c92f6035d1c4 (patch) | |
tree | eedd48e527cedc9c7d9daaf85bd4bb952c154c48 | |
parent | Merge pull request #11990 from spk-hebbar/patch-1 (diff) | |
download | frr-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.c | 2 |
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 || |