summaryrefslogtreecommitdiffstats
path: root/lib/command.c
diff options
context:
space:
mode:
authorhasso <hasso>2005-01-23 21:42:25 +0000
committerhasso <hasso>2005-01-23 21:42:25 +0000
commit485fef856f8f59cd4b0acdc72581ced09f27967e (patch)
treed61a8b9ae36f5fa90ac5d474d693804df1146b5f /lib/command.c
parent75ab866d7f1d7368be73ce1e0aa9204ad8cf17c9 (diff)
downloadquagga-485fef856f8f59cd4b0acdc72581ced09f27967e.tar.bz2
quagga-485fef856f8f59cd4b0acdc72581ced09f27967e.tar.xz
* lib/command.[ch]: Make node_parent() function nonstatic. vtyh.c will
use it as well. * vtysh/vtysh.c: Implement walkup in node tree for vtysh as it already works in vty.
Diffstat (limited to 'lib/command.c')
-rw-r--r--lib/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/command.c b/lib/command.c
index 1d6388cb..53539149 100644
--- a/lib/command.c
+++ b/lib/command.c
@@ -1941,7 +1941,7 @@ cmd_complete_command (vector vline, struct vty *vty, int *status)
/* return parent node */
/* MUST eventually converge on CONFIG_NODE */
-static enum node_type
+enum node_type
node_parent ( enum node_type node )
{
enum node_type ret;