diff options
author | hasso <hasso> | 2005-01-16 23:31:54 +0000 |
---|---|---|
committer | hasso <hasso> | 2005-01-16 23:31:54 +0000 |
commit | 87d683b071dc7abfb30b666960ec480e64e19ce4 (patch) | |
tree | ec56b3ce34f6871c4b3687681df2b97aa38da57a /lib/vty.c | |
parent | b854038bd03e6c54b46d35bf4e40d0f39e30dfde (diff) | |
download | quagga-87d683b071dc7abfb30b666960ec480e64e19ce4.tar.bz2 quagga-87d683b071dc7abfb30b666960ec480e64e19ce4.tar.xz |
* command.[ch], vty.c: cmd_execute_command() function must not attempt
to walk up in the node tree if called from vtysh. Different daemons
might have commands with same syntax in different nodes (for example
"router-id x.x.x.x" commands in zebra/ospfd/ospf6d daemons).
* vtysh.c: Reflect changes in lib. cmd_execute_command() should know
now that it's called from vtysh and must not attempt to walk up in
the node tree.
[pullup candidate]
Diffstat (limited to 'lib/vty.c')
-rw-r--r-- | lib/vty.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -361,7 +361,7 @@ vty_command (struct vty *vty, char *buf) if (vline == NULL) return CMD_SUCCESS; - ret = cmd_execute_command (vline, vty, NULL); + ret = cmd_execute_command (vline, vty, NULL, 0); if (ret != CMD_SUCCESS) switch (ret) |