diff options
author | hasso <hasso> | 2005-01-23 21:42:25 +0000 |
---|---|---|
committer | hasso <hasso> | 2005-01-23 21:42:25 +0000 |
commit | 13bfca7a1059a73a836f4813170f296a82266211 (patch) | |
tree | b22e29cb43472038769502685209badf3302e7dd /lib/command.c | |
parent | 90b4214727b4e109a87bc99f9dfb4686e0c0a8b2 (diff) |
* 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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/command.c b/lib/command.c index 8f9b98e5..6b65a5d2 100644 --- a/lib/command.c +++ b/lib/command.c @@ -1,5 +1,5 @@ /* - $Id: command.c,v 1.34 2005/01/16 23:31:54 hasso Exp $ + $Id: command.c,v 1.35 2005/01/23 21:42:25 hasso Exp $ Command interpreter routine for virtual terminal [aka TeletYpe] Copyright (C) 1997, 98, 99 Kunihiro Ishiguro @@ -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; |