From: Dinesh Dutt <[email protected]>

Quagga doesn't display default config as part of the running config, only
what is different from the default. However, in the case of rtadv, every
link displays the default "ipv6 nd suppress-ra" as part of running config.
This patch fixes that.

Signed-off-by: Dinesh Dutt <[email protected]>
---
 zebra/rtadv.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/zebra/rtadv.c b/zebra/rtadv.c
index b35557c..ac20ca7 100644
--- a/zebra/rtadv.c
+++ b/zebra/rtadv.c
@@ -1627,8 +1627,6 @@ rtadv_config_write (struct vty *vty, struct interface 
*ifp)
     {
       if (zif->rtadv.AdvSendAdvertisements)
        vty_out (vty, " no ipv6 nd suppress-ra%s", VTY_NEWLINE);
-      else
-       vty_out (vty, " ipv6 nd suppress-ra%s", VTY_NEWLINE);
     }
 
   
-- 
1.9.1


_______________________________________________
Quagga-dev mailing list
[email protected]
https://lists.quagga.net/mailman/listinfo/quagga-dev

Reply via email to