diff options
author | Paul Jakma <paul@opensourcerouting.org> | 2015-05-26 15:19:38 +0100 |
---|---|---|
committer | Paul Jakma <paul@quagga.net> | 2015-06-21 12:31:53 +0100 |
commit | 84c3840c7157438b5cb2e324d184ca08ac07fb41 (patch) | |
tree | 1022dc746e3c2f6498ebc94a632ce3f4f2f0c32e /lib/stream.c | |
parent | 55cfa2f190620f7c711944637659bc208970324d (diff) | |
download | quagga-84c3840c7157438b5cb2e324d184ca08ac07fb41.tar.bz2 quagga-84c3840c7157438b5cb2e324d184ca08ac07fb41.tar.xz |
bgpd: peer_uptime overflows after 1 year
* bgpd.c: (peer_uptime) Wraps after 1 year, and doesn't indicate years.
Fix. Assume a year is 365 days, for an easy life.
Fixes: Bug #836
Reported-by: Rolf Hanßen
Acked-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/stream.c')
0 files changed, 0 insertions, 0 deletions