summaryrefslogtreecommitdiffstats
path: root/nhrpd
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-08-29 23:48:36 +0200
committerGitHub <noreply@github.com>2017-08-29 23:48:36 +0200
commit32592ffb4f04f18b7eacaeca3c6fc254bafbc5b3 (patch)
tree4a17e3eebc48dfe96dd0e6cb0578b937e1b41dd9 /nhrpd
parentMerge pull request #1074 from opensourcerouting/ospf6-plist-segv (diff)
parentdoc: new frr-args(8) man page with general options (diff)
downloadfrr-32592ffb4f04f18b7eacaeca3c6fc254bafbc5b3.tar.xz
frr-32592ffb4f04f18b7eacaeca3c6fc254bafbc5b3.zip
Merge pull request #1056 from opensourcerouting/oldbits-0
"pathspace" options, vtysh-suid-cleanups, "vty_frame()"
Diffstat (limited to 'nhrpd')
-rw-r--r--nhrpd/nhrp_vty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nhrpd/nhrp_vty.c b/nhrpd/nhrp_vty.c
index 6d78fc1d2..bd5b1aa6f 100644
--- a/nhrpd/nhrp_vty.c
+++ b/nhrpd/nhrp_vty.c
@@ -854,7 +854,7 @@ static int interface_config_write(struct vty *vty)
int i;
for (ALL_LIST_ELEMENTS_RO(vrf_iflist(VRF_DEFAULT), node, ifp)) {
- vty_out (vty, "interface %s\n", ifp->name);
+ vty_frame(vty, "interface %s\n", ifp->name);
if (ifp->desc)
vty_out (vty, " description %s\n", ifp->desc);
@@ -913,7 +913,7 @@ static int interface_config_write(struct vty *vty)
}
}
- vty_out (vty, "!\n");
+ vty_endframe(vty, "!\n");
}
return 0;