]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Prevent possible SA thinking we'll divide by zero 5408/head
authorDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 22 Nov 2019 00:41:48 +0000 (19:41 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 22 Nov 2019 00:41:48 +0000 (19:41 -0500)
commit6d24b7cc08d6c95a538415bdc58614c076f1f9a7
treebf97bd27db5d48cca503e8dcd5ba64bc7e9bc814
parent45559c4dfe3dca9312b9da4e78cf13563bd2acb8
bgpd: Prevent possible SA thinking we'll divide by zero

The half and reuse variables can never be 1 but the
SA systems we have do not know this and think it is possible.
Provide the kick in the snarples that the SA needs to know
this is not true.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
bgpd/bgp_route.c