diff options
| author | Mitesh Kanjariya <mitesh@cumulusnetworks.com> | 2018-03-06 13:48:33 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-03-06 13:48:33 -0800 |
| commit | 7b1bf203ca189938b41811945fe6a71911574de3 (patch) | |
| tree | 7df11e1b20b328d310c72f928970b2ada5822e3b /lib/command.c | |
| parent | 58f9e4d3f227c7cdef45204e6f3a1f7673a5201b (diff) | |
| parent | defd0965f4a85a392e29032f712617e3c617596d (diff) | |
Merge branch 'master' into type5-default-originate
Diffstat (limited to 'lib/command.c')
| -rw-r--r-- | lib/command.c | 3 |
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); |
