diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2020-10-03 00:15:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-03 00:15:26 +0200 |
commit | 25a7a8e5e5c444633e95bd4095a5922c392a48e3 (patch) | |
tree | 7b951fed8d954f545466df551020e572068cc5ac /vtysh | |
parent | Merge pull request #7228 from idryzhov/vtysh-dynamic-daemons (diff) | |
parent | vtysh: fix multiple "domainname" commands in running config (diff) | |
download | frr-25a7a8e5e5c444633e95bd4095a5922c392a48e3.tar.xz frr-25a7a8e5e5c444633e95bd4095a5922c392a48e3.zip |
Merge pull request #7225 from idryzhov/vtysh-fix-domainname
vtysh: fix multiple "domainname" commands in running config
Diffstat (limited to 'vtysh')
-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 |