]> git.puffer.fish Git - mirror/frr.git/commit
Don't print 'neighbor activate' if its default for IPv4 unicast AFI/SAFI
authorDinesh G Dutt <ddutt@cumulusnetworks.com>
Wed, 6 Jul 2016 13:50:23 +0000 (06:50 -0700)
committerDinesh G Dutt <ddutt@cumulusnetworks.com>
Wed, 6 Jul 2016 21:51:29 +0000 (14:51 -0700)
commit655f79c9d2352c4c57b883aad0da6cd4528f4dde
treea25d557b2a496b286c492d156e03955b02c0713f
parentab5f8310801f1870a7c5c22e1595e4452c558ddb
Don't print 'neighbor activate' if its default for IPv4 unicast AFI/SAFI

Ticket: CM-11460
Reviewed By: CCR-4927
Testing Done:

Quagga's default "show running" model is to only print the non-default config.
Historically, IPv4 unicast has always had a default 'activate' model unless
its been configured otherwise. In 3.0, we introduced a print of the 'activate'
statement for IPv4 unicast independent of whether it was the default or not.
This causes quagga reload to break as the user doesn't configure 'activate' for
IPv4 unicast, and so any config changes will also not have it. However 'show
running' will display it, causing quagga reload to think that the AFI/SAFI has
been deactivated and bounce the sessions incorrectly.

This patch reverts to the original quagga behavior/model of not printing the
'activate' line for IPv4 unicast if its the default.
bgpd/bgpd.c