From 07894c2223862de72f7c6caab1e4166a82d7137d Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Tue, 19 May 2015 18:04:13 -0700 Subject: [PATCH] zebra-rtadv-suppress-default-config.patch Zebra: Suppress displaying default config as part of running config 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. --- zebra/rtadv.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/zebra/rtadv.c b/zebra/rtadv.c index c14d421386..766a2184b5 100644 --- a/zebra/rtadv.c +++ b/zebra/rtadv.c @@ -1618,8 +1618,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); } -- 2.39.5