]> git.proxmox.com Git - mirror_frr.git/blobdiff - staticd/static_vrf.c
zebra, lib: fix the ZEBRA_INTERFACE_VRF_UPDATE zapi message
[mirror_frr.git] / staticd / static_vrf.c
index ad143209ee0bb70c72147db96ca756fdb738cd3e..9dd25fbdd1316f19685e9f6a35a7cf66006514fc 100644 (file)
@@ -164,7 +164,7 @@ static int static_vrf_config_write(struct vty *vty)
                              SAFI_UNICAST, "ipv6 route");
 
                if (vrf->vrf_id != VRF_DEFAULT)
-                       vty_endframe(vty, "!\n");
+                       vty_endframe(vty, " exit-vrf\n!\n");
        }
 
        return 0;