diff options
author | paul <paul> | 2004-01-15 01:00:49 +0000 |
---|---|---|
committer | paul <paul> | 2004-01-15 01:00:49 +0000 |
commit | 13b8baadb044a4ddd447cb7139a9d59fbb7983a5 (patch) | |
tree | 4c8d21cfdfbae253725b5fe37360fa9963ae9dbc /vtysh/vtysh_config.c | |
parent | 9d24baaa3d4a6688403b34708a1f4696c7d12c5b (diff) |
2004-01-15 Paul Jakma <paul@dishone.st>
* vtysh_config.c: Fix up strlen to use correct string.
Diffstat (limited to 'vtysh/vtysh_config.c')
-rw-r--r-- | vtysh/vtysh_config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vtysh/vtysh_config.c b/vtysh/vtysh_config.c index 28af1ca2..9411dc3c 100644 --- a/vtysh/vtysh_config.c +++ b/vtysh/vtysh_config.c @@ -191,7 +191,7 @@ vtysh_config_parse_line (char *line) config = config_get (OSPF6_NODE, line); else if (strncmp (line, "router bgp", strlen ("router bgp")) == 0) config = config_get (BGP_NODE, line); - else if (strncmp (line, "router isis", strlen ("router bgp")) == 0) + else if (strncmp (line, "router isis", strlen ("router isis")) == 0) config = config_get (ISIS_NODE, line); else if (strncmp (line, "router", strlen ("router")) == 0) config = config_get (BGP_NODE, line); |