From: Francesco Dolcini Date: Tue, 2 Jun 2009 17:20:09 +0000 (+0100) Subject: [ospfd] fix vty ospfd no ospf abr-type standard X-Git-Tag: frr-2.0-rc1~2337 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=04d23314ddf950fefb3ff18306c7564bf4573a12;p=mirror%2Ffrr.git [ospfd] fix vty ospfd no ospf abr-type standard "no ospf abr-type standard" was broken --- diff --git a/ospfd/ospf_vty.c b/ospfd/ospf_vty.c index a7238270d3..c4abe7e1a5 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;