From: hasso Date: Wed, 22 Dec 2004 13:09:59 +0000 (+0000) Subject: Fix "show ip ospf" output. If router is configured as "translate-never", we X-Git-Tag: frr-2.0-rc1~3292 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=c6b878195752f25e3c943184d2baa11f2b14f53a;p=mirror%2Ffrr.git Fix "show ip ospf" output. If router is configured as "translate-never", we say so - we can never be translator. --- diff --git a/ospfd/ChangeLog b/ospfd/ChangeLog index 205d04a256..6bbeb9ddf8 100644 --- a/ospfd/ChangeLog +++ b/ospfd/ChangeLog @@ -1,6 +1,8 @@ 2004-12-22 Hasso Tepper * ospf_dump.c: Show debug configuration in vtysh. + * ospf_vty.c: Fix "show ip ospf" output. Router can't be elected in + any case if it's configured as "translate-never". 2004-12-15 Andrew J. Schorr diff --git a/ospfd/ospf_vty.c b/ospfd/ospf_vty.c index b9c554f41d..264e441410 100644 --- a/ospfd/ospf_vty.c +++ b/ospfd/ospf_vty.c @@ -2400,7 +2400,7 @@ show_ip_ospf_area (struct vty *vty, struct ospf_area *area) vty_out (vty, "not the NSSA Elected Translator. %s", VTY_NEWLINE); else - vty_out (vty, "not the NSSA Elected Translator. %s", + vty_out (vty, "never an NSSA Translator. %s", VTY_NEWLINE); } }