diff options
author | Igor Ryzhov <iryzhov@nfware.com> | 2020-10-01 21:19:31 +0200 |
---|---|---|
committer | Igor Ryzhov <iryzhov@nfware.com> | 2020-10-02 12:00:06 +0200 |
commit | cf8c39655a44b5a62a6a0a509c50c3842c23b637 (patch) | |
tree | fa3f797027cae019164d7fb04455b4ba3abcaba7 /vtysh/vtysh_config.c | |
parent | Merge pull request #7229 from idryzhov/topotests-vrf-id (diff) | |
download | frr-cf8c39655a44b5a62a6a0a509c50c3842c23b637.tar.xz frr-cf8c39655a44b5a62a6a0a509c50c3842c23b637.zip |
vtysh: fix multiple "domainname" commands in running config
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'vtysh/vtysh_config.c')
-rw-r--r-- | vtysh/vtysh_config.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vtysh/vtysh_config.c b/vtysh/vtysh_config.c index 85221b8b4..4b6c648d2 100644 --- a/vtysh/vtysh_config.c +++ b/vtysh/vtysh_config.c @@ -428,8 +428,8 @@ void vtysh_config_parse_line(void *arg, const char *line) config = config_get(BFD_NODE, line); else { if (strncmp(line, "log", strlen("log")) == 0 - || strncmp(line, "hostname", strlen("hostname")) - == 0 + || strncmp(line, "hostname", strlen("hostname")) == 0 + || strncmp(line, "domainname", strlen("domainname")) == 0 || strncmp(line, "frr", strlen("frr")) == 0 || strncmp(line, "agentx", strlen("agentx")) == 0 || strncmp(line, "no log", strlen("no log")) == 0 |