mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-06-13 09:45:35 +00:00
vtysh: Allow service ...
lines to not repeat
When any `service ...` line is entered and there are multiple daemons running prevent this from being displayed multiple times. Fixes: #5475 Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
parent
c4f16627d3
commit
f531fae829
@ -492,8 +492,8 @@ void vtysh_config_parse_line(void *arg, const char *line)
|
||||
strlen("no ip prefix-list")) == 0 ||
|
||||
strncmp(line, "no ipv6 prefix-list",
|
||||
strlen("no ipv6 prefix-list")) == 0 ||
|
||||
strncmp(line, "service cputime-stats",
|
||||
strlen("service cputime-stats")) == 0 ||
|
||||
strncmp(line, "service ", strlen("service ")) ==
|
||||
0 ||
|
||||
strncmp(line, "no service cputime-stats",
|
||||
strlen("no service cputime-stats")) == 0 ||
|
||||
strncmp(line, "service cputime-warning",
|
||||
|
Loading…
Reference in New Issue
Block a user