summaryrefslogtreecommitdiffstats
path: root/vtysh
diff options
context:
space:
mode:
authorChris Hall <chris.hall@highwayman.com>2011-03-29 01:49:16 +0100
committerChris Hall <chris.hall@highwayman.com>2011-03-29 01:49:16 +0100
commitf9956b9524ddafdb9d0cec042213eaa8229aad8c (patch)
treebf362c892837ef3f5a6a4d4265eb18e1b47ccf33 /vtysh
parent9470cb2c32eab220f796b1438b787528272cbe84 (diff)
downloadquagga-ex15p.tar.bz2
quagga-ex15p.tar.xz
Bring "ex" version up to date with 0.99.18ex15p
Release: 0.99.18ex15p -- Pipework Branch Also fixes issue with unknown attributes -- does not release them prematurely. Contains the "bgpd: New show commands for improved view and address family support", which is post 0.99.18. (But not RFC 5082 GTSM.)
Diffstat (limited to 'vtysh')
-rw-r--r--vtysh/vtysh.c2
-rw-r--r--vtysh/vtysh_config.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/vtysh/vtysh.c b/vtysh/vtysh.c
index 17f6a994..a1f65190 100644
--- a/vtysh/vtysh.c
+++ b/vtysh/vtysh.c
@@ -447,7 +447,7 @@ vtysh_config_from_file (struct vty *vty, FILE *fp)
/* TODO: (1) allocate buffer for vty->buf (2) what about CMD_QUEUED ?? */
- while (fgets (vty->buf, VTY_BUFSIZ, fp))
+ while (fgets (vty->buf, 2000, fp))
{
/* Execute configuration command : this is strict match. */
ret = cmd_execute_command(vty, cmd_parse_strict, &cmd);
diff --git a/vtysh/vtysh_config.c b/vtysh/vtysh_config.c
index c20c2b2c..aed3a91c 100644
--- a/vtysh/vtysh_config.c
+++ b/vtysh/vtysh_config.c
@@ -403,7 +403,7 @@ vtysh_read_config (char *config_default_dir)
vtysh_read_file (confp);
fclose (confp);
- host_config_set (config_default_dir);
+ cmd_host_config_set (config_default_dir);
return (0);
}