]> git.proxmox.com Git - mirror_frr.git/blobdiff - lib/command.c
Merge pull request #1728 from mkanjari/evpn-bug-fixes
[mirror_frr.git] / lib / command.c
index 10996d5dd4b80dfbd800662e5defc80ae255bf1c..3fa086bf62d4d1feeaf4f1728967082e746fcec2 100644 (file)
@@ -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);