diff options
author | Chris Caputo <ccaputo@alt.net> | 2009-05-06 15:20:35 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-05-06 15:28:42 -0700 |
commit | 8c502f355ed9860178f6a2fa545024945fb942dd (patch) | |
tree | 59c5a177220750e3d5a70508cb494f96716b8a18 /lib/smux.h | |
parent | df1eb9288e93b9f24dc5e11e85d79b860eadf61c (diff) | |
download | quagga-8c502f355ed9860178f6a2fa545024945fb942dd.tar.bz2 quagga-8c502f355ed9860178f6a2fa545024945fb942dd.tar.xz |
Fix "show ip bgp dampened-paths" garbage output.
* bgpd/bgp_damp.c: Make bgp_damp_reuse_time_vty() accept a buffer and
length, rather than returning a local var buffer whose contents can get
trounced. Remove duplicate BGP_UPTIME_LEN define.
* bgpd/bgp_damp.h: bgp_damp_reuse_time_vty() prototype change.
* bgpd/bgp_route.c: Provide bgp_damp_reuse_time_vty() with a buffer and
length. Remove duplicate BGP_UPTIME_LEN define.
This problem was noticed in 2005...
http://hibernia.jakma.org/~paul/patches/quagga-test.diff
...but the fix didn't make it into the code.
Signed-off-by: Chris Caputo <ccaputo at alt.net>
Diffstat (limited to 'lib/smux.h')
0 files changed, 0 insertions, 0 deletions