diff options
author | Chris Hall <GMCH@hestia.halldom.com> | 2010-03-16 04:23:17 +0000 |
---|---|---|
committer | Chris Hall <GMCH@hestia.halldom.com> | 2010-03-16 04:23:17 +0000 |
commit | c933cf7233f51f677ab01689f175ceb3dc5361f6 (patch) | |
tree | e6ac060c9c2445ffd0b62cea06857ff5718fc6d8 | |
parent | d87a9d74eab06082ea49313083ffa0aa41f666f9 (diff) | |
download | quagga-c933cf7233f51f677ab01689f175ceb3dc5361f6.tar.bz2 quagga-c933cf7233f51f677ab01689f175ceb3dc5361f6.tar.xz |
Use vty_set_node() to change node type.
-rw-r--r-- | bgpd/bgp_vty.c | 2 |
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; } |