]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: type fix 3030/head
authorF. Aragon <paco@voltanet.io>
Fri, 14 Sep 2018 12:53:55 +0000 (14:53 +0200)
committerF. Aragon <paco@voltanet.io>
Fri, 14 Sep 2018 13:01:03 +0000 (15:01 +0200)
commit3cf7af1d3dfad1e3250ce8fbf2f3ebd11db1cee9
treee27d20972bae0e96a2e3c067d992adfa6aab3dd8
parent6efca3442f9e74c789803cbcfba330cd12de7863
bgpd: type fix

For tracking the last state of the penalty (struct bgp_damp_info) a 'double'
type was used instead of using the 'unsigned int' being used in the structure.

Detected using ./configure CFLAGS=-Wfloat-equal CC=clang

Signed-off-by: F. Aragon <paco@voltanet.io>
bgpd/bgp_damp.c