]> git.puffer.fish Git - mirror/frr.git/commitdiff
zebra-rtadv-suppress-default-config.patch
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 20 May 2015 01:04:13 +0000 (18:04 -0700)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 20 May 2015 01:04:13 +0000 (18:04 -0700)
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

index c14d421386efaa63c86bdd545f5d1e9e356c6c88..766a2184b551113fc7d76579f6e2fd710c22f167 100644 (file)
@@ -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);
     }