summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Hall <GMCH@hestia.halldom.com>2010-03-16 04:23:17 +0000
committerChris Hall <GMCH@hestia.halldom.com>2010-03-16 04:23:17 +0000
commitc933cf7233f51f677ab01689f175ceb3dc5361f6 (patch)
treee6ac060c9c2445ffd0b62cea06857ff5718fc6d8
parentd87a9d74eab06082ea49313083ffa0aa41f666f9 (diff)
downloadquagga-c933cf7233f51f677ab01689f175ceb3dc5361f6.tar.bz2
quagga-c933cf7233f51f677ab01689f175ceb3dc5361f6.tar.xz
Use vty_set_node() to change node type.
-rw-r--r--bgpd/bgp_vty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c
index 0ff30632..71d124cd 100644
--- a/bgpd/bgp_vty.c
+++ b/bgpd/bgp_vty.c
@@ -4042,7 +4042,7 @@ DEFUN (exit_address_family,
|| node == BGP_VPNV4_NODE
|| node == BGP_IPV6_NODE
|| node == BGP_IPV6M_NODE)
- node = BGP_NODE;
+ vty_set_node(vty, BGP_NODE);
return CMD_SUCCESS;
}