summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorvivek <vivek@cumulusnetworks.com>2018-03-06 22:19:24 +0000
committervivek <vivek@cumulusnetworks.com>2018-03-06 22:19:24 +0000
commitbfd498f0dab9a1937c6036cd35ed020b64a69e8f (patch)
treedfb478c984f1aeb74f0c35c9c7b8b11577cb9833 /lib/command.c
parent558283638bb50ff24ea28bab89c1bb4c89ccc3dd (diff)
parentdefd0965f4a85a392e29032f712617e3c617596d (diff)
Merge branch 'master' of https://github.com/frrouting/frr into evpn-ipv6-tenant-routing
Conflicts: zebra/zserv.c
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);