summaryrefslogtreecommitdiffstats
path: root/vtysh/vtysh.c
diff options
context:
space:
mode:
authorpaulo <paul@bayleaf.org.uk>2009-12-14 17:38:26 +0000
committerpaulo <paul@bayleaf.org.uk>2009-12-14 17:38:26 +0000
commit73fe495cffb7eae3f68df3d3598b0f83df81b79a (patch)
tree2e67e49a094ad232bf883b6e5141798da03fa6f9 /vtysh/vtysh.c
parent9035f1d22beec82507c1c9137e7c9fb5c4d0fbc6 (diff)
downloadquagga-73fe495cffb7eae3f68df3d3598b0f83df81b79a.tar.bz2
quagga-73fe495cffb7eae3f68df3d3598b0f83df81b79a.tar.xz
Using message queue to send commands from cli thread to bgp thread.
Diffstat (limited to 'vtysh/vtysh.c')
-rw-r--r--vtysh/vtysh.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/vtysh/vtysh.c b/vtysh/vtysh.c
index 935c4933..275e037c 100644
--- a/vtysh/vtysh.c
+++ b/vtysh/vtysh.c
@@ -290,7 +290,7 @@ vtysh_execute_func (const char *line, int pager)
if (vline == NULL)
return CMD_SUCCESS;
- saved_ret = ret = cmd_execute_command (vline, vty, &cmd, 1);
+ saved_ret = ret = cmd_execute_command (vline, vty, &cmd, NULL, 1);
saved_node = vty->node;
/* If command doesn't succeeded in current node, try to walk up in node tree.
@@ -300,7 +300,7 @@ vtysh_execute_func (const char *line, int pager)
&& vty->node > CONFIG_NODE)
{
vty->node = node_parent(vty->node);
- ret = cmd_execute_command (vline, vty, &cmd, 1);
+ ret = cmd_execute_command (vline, vty, &cmd, NULL, 1);
tried++;
}
@@ -398,7 +398,7 @@ vtysh_execute_func (const char *line, int pager)
return CMD_SUCCESS;
}
- ret = cmd_execute_command (vline, vty, &cmd, 1);
+ ret = cmd_execute_command (vline, vty, &cmd, , NULL, 1);
cmd_free_strvec (vline);
if (ret != CMD_SUCCESS_DAEMON)
break;