[quagga-dev 6283] [PATCH] fix vty ospfd no ospf abr-type standard

Francesco Dolcini fdolcini at sysnetsistemi.it
Fri Dec 5 10:06:08 GMT 2008


"no ospf abr-type standard" is broken

--- quagga-0.99.11/ospfd/ospf_vty.c     (revision 4133)
+++ quagga-0.99.11/ospfd/ospf_vty.c     (working copy)
@@ -2115,8 +2115,10 @@
      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;



More information about the Quagga-dev mailing list