summaryrefslogtreecommitdiff
path: root/staticd/static_vrf.c
diff options
context:
space:
mode:
Diffstat (limited to 'staticd/static_vrf.c')
-rw-r--r--staticd/static_vrf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/staticd/static_vrf.c b/staticd/static_vrf.c
index 96e5d37d68..740d904690 100644
--- a/staticd/static_vrf.c
+++ b/staticd/static_vrf.c
@@ -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, " exit-vrf\n!\n");
+ vty_endframe(vty, "exit-vrf\n!\n");
}
return 0;
@@ -175,7 +175,7 @@ void static_vrf_init(void)
vrf_init(static_vrf_new, static_vrf_enable,
static_vrf_disable, static_vrf_delete, NULL);
- vrf_cmd_init(static_vrf_config_write, &static_privs);
+ vrf_cmd_init(static_vrf_config_write);
}
void static_vrf_terminate(void)