summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancesco Dolcini <fdolcini@sysnetsistemi.it>2009-06-02 18:20:09 +0100
committerPaul Jakma <paul@quagga.net>2009-06-02 18:20:09 +0100
commit04d23314ddf950fefb3ff18306c7564bf4573a12 (patch)
tree4f95bfb51970b2baf84f67bb12a390b1b6097025
parentc5a89ff4e68c49b8841baf3c76290dd78ba383ec (diff)
[ospfd] fix vty ospfd no ospf abr-type standard
"no ospf abr-type standard" was broken
-rw-r--r--ospfd/ospf_vty.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ospfd/ospf_vty.c b/ospfd/ospf_vty.c
index a7238270..c4abe7e1 100644
--- a/ospfd/ospf_vty.c
+++ b/ospfd/ospf_vty.c
@@ -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;