]> git.proxmox.com Git - mirror_frr.git/commitdiff
2004-01-15 Paul Jakma <paul@dishone.st>
authorpaul <paul>
Thu, 15 Jan 2004 01:00:49 +0000 (01:00 +0000)
committerpaul <paul>
Thu, 15 Jan 2004 01:00:49 +0000 (01:00 +0000)
        * vtysh_config.c: Fix up strlen to use correct string.

vtysh/ChangeLog
vtysh/vtysh_config.c

index edf490240668737445f120c014c94676d40c8bd0..55421da5a50a179b518559e1239b47514df59498 100644 (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:
index 28af1ca241a6b7150d37a2714879107015131eb8..9411dc3ca9010d7bcac7772a578ba49a45c69ae7 100644 (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);