]> git.puffer.fish Git - mirror/frr.git/commit
zebra: Accept and process RAs with lifetime of zero
authorvivek <vivek@cumulusnetworks.com>
Fri, 13 May 2016 05:57:40 +0000 (22:57 -0700)
committervivek <vivek@cumulusnetworks.com>
Fri, 13 May 2016 17:17:37 +0000 (10:17 -0700)
commit1d20ccf32c13805147fe71c6e39295c9b3ed6bc5
tree3e0115ca78ef961d92394bb6c218e95db4c29ca1
parent6b9efc026fe0632d580672e3182e614aef935ac8
zebra: Accept and process RAs with lifetime of zero

Fix code to not discard received RAs with a lifetime of 0. The router lifetime
is only applicable for default router processing which is not relevant here.
For the purposes of BGP unnumbered, the neighbor should be learnt without
consideration of the value of router lifetime in received RA.

Note: This patch brings in a portion of the earlier commit
690baa53592320dddee5c729f959150cc9a72699 - this included some additional
changes which have been reverted.

Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
Reviewed-by: Daniel Walton <dwalton@cumulusnetworks.com>
Ticket: CM-10943
Reviewed By: CCR-4611
Testing Done: bgp-smoke
zebra/rtadv.c
zebra/zserv.c
zebra/zserv.h