summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2018-03-06 17:27:10 +0100
committerGitHub <noreply@github.com>2018-03-06 17:27:10 +0100
commit6dfe83b8f763795017e6b9bcbe0757143b56e539 (patch)
tree357d5777dfebe6797549f0a0bd85cfb6d9c1e2f8 /lib/command.c
parentc187f94a65018bccab6a8e2fb9d0c40062f7778a (diff)
parent00cbfad6de99dd70df21cb43f624e364eb0d0f02 (diff)
Merge pull request #1728 from mkanjari/evpn-bug-fixes
Evpn bug fixes
Diffstat (limited to 'lib/command.c')
-rw-r--r--lib/command.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/command.c b/lib/command.c
index 10996d5dd4..3fa086bf62 100644
--- a/lib/command.c
+++ b/lib/command.c
@@ -500,6 +500,9 @@ static int config_write_host(struct vty *vty)
if (cmd_hostname_get())
vty_out(vty, "hostname %s\n", cmd_hostname_get());
+ if (cmd_domainname_get())
+ vty_out(vty, "domainname %s\n", cmd_domainname_get());
+
if (host.encrypt) {
if (host.password_encrypt)
vty_out(vty, "password 8 %s\n", host.password_encrypt);