diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-08-31 12:52:46 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-09-05 18:56:40 -0400 |
| commit | 76260b357850d85e93b9661c53a79ce263ee456c (patch) | |
| tree | 3fdbf2837824d1e9bc83ede779dbbc98ee1689b3 /pimd/pim_instance.c | |
| parent | 915902cb82cfd57fa059b3a508ea9973bd056a96 (diff) | |
pimd: Add usage of vty_frame for vrf configuration
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_instance.c')
| -rw-r--r-- | pimd/pim_instance.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pimd/pim_instance.c b/pimd/pim_instance.c index d1f8085b48..5a59342947 100644 --- a/pimd/pim_instance.c +++ b/pimd/pim_instance.c @@ -202,9 +202,9 @@ static int pim_vrf_config_write(struct vty *vty) if (vrf->vrf_id == VRF_DEFAULT) continue; - vty_out(vty, "vrf %s\n", vrf->name); + vty_frame(vty, "vrf %s\n", vrf->name); pim_global_config_write_worker(pim, vty); - vty_out(vty, "!\n"); + vty_endframe(vty, "!\n"); } return 0; |
