2004-01-15 Paul Jakma <paul@dishone.st>

* vtysh_config.c: Fix up strlen to use correct string.
This commit is contained in:
paul 2004-01-15 01:00:49 +00:00
parent 9d24baaa3d
commit 13b8baadb0
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2004-01-15 Paul Jakma <paul@dishone.st>
* vtysh_config.c: Fix up strlen to use correct string.
2003-12-23 Hasso Tepper <hasso@estpak.ee>
* Makefile.am extract.pl vtysh.c vtysh.h vtysh_config.c:

View File

@ -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);