]> git.puffer.fish Git - matthieu/frr.git/commitdiff
[ospfd] fix vty ospfd no ospf abr-type standard
authorFrancesco Dolcini <fdolcini@sysnetsistemi.it>
Tue, 2 Jun 2009 17:20:09 +0000 (18:20 +0100)
committerPaul Jakma <paul@quagga.net>
Tue, 2 Jun 2009 17:20:09 +0000 (18:20 +0100)
"no ospf abr-type standard" was broken

ospfd/ospf_vty.c

index a7238270d376184fcbc03cd53bd2b98e2ef8e99f..c4abe7e1a53cc2e6fef6562f540d9bed84845071 100644 (file)
@@ -2115,8 +2115,10 @@ DEFUN (no_ospf_abr_type,
     abr_type = OSPF_ABR_CISCO;
   else if (strncmp (argv[0], "i", 1) == 0)
     abr_type = OSPF_ABR_IBM;
-  else if (strncmp (argv[0], "s", 1) == 0)
+  else if (strncmp (argv[0], "sh", 2) == 0)
     abr_type = OSPF_ABR_SHORTCUT;
+  else if (strncmp (argv[0], "st", 2) == 0)
+    abr_type = OSPF_ABR_STAND;
   else
     return CMD_WARNING;