diff options
| author | Igor Ryzhov <iryzhov@nfware.com> | 2020-10-01 22:19:31 +0300 | 
|---|---|---|
| committer | Igor Ryzhov <iryzhov@nfware.com> | 2020-10-02 13:00:06 +0300 | 
| commit | cf8c39655a44b5a62a6a0a509c50c3842c23b637 (patch) | |
| tree | fa3f797027cae019164d7fb04455b4ba3abcaba7 /vtysh/vtysh_config.c | |
| parent | 38b7c566eb860b076e2d212f861afb520d629188 (diff) | |
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 85221b8b45..4b6c648d2f 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  | 
