summaryrefslogtreecommitdiff
path: root/vtysh/vtysh_config.c
diff options
context:
space:
mode:
Diffstat (limited to 'vtysh/vtysh_config.c')
-rw-r--r--vtysh/vtysh_config.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/vtysh/vtysh_config.c b/vtysh/vtysh_config.c
index 70c37462..fb8a1269 100644
--- a/vtysh/vtysh_config.c
+++ b/vtysh/vtysh_config.c
@@ -244,6 +244,8 @@ vtysh_config_parse_line (const char *line)
|| strncmp (line, "enable password",
strlen ("enable password")) == 0)
config = config_get (AAA_NODE, line);
+ else if (strncmp (line, "ip protocol", strlen ("ip protocol")) == 0)
+ config = config_get (PROTOCOL_NODE, line);
else
{
if (strncmp (line, "log", strlen ("log")) == 0