summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_damp.c
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-05-29 22:54:24 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-05-29 22:54:24 -0700
commitb25e631dcc357f16d05fb2ac4f1570d7e86ec0ef (patch)
treee49268da6abb834c02049ac982b364e991aecb2e /bgpd/bgp_damp.c
parentb2d49f178cc69c580039c5fb058f6eba4a542b1f (diff)
parent97dd2bf9bb517c428cfa2778cac071ad845d03a1 (diff)
downloadquagga-b25e631dcc357f16d05fb2ac4f1570d7e86ec0ef.tar.bz2
quagga-b25e631dcc357f16d05fb2ac4f1570d7e86ec0ef.tar.xz
Merge branch 'hollywood' of suva.vyatta.com:/git/vyatta-quagga into hollywood
Diffstat (limited to 'bgpd/bgp_damp.c')
-rw-r--r--bgpd/bgp_damp.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/bgpd/bgp_damp.c b/bgpd/bgp_damp.c
index 5a7c9aaa..a0a8557d 100644
--- a/bgpd/bgp_damp.c
+++ b/bgpd/bgp_damp.c
@@ -520,8 +520,6 @@ bgp_damp_disable (struct bgp *bgp, afi_t afi, safi_t safi)
int
bgp_config_write_damp (struct vty *vty)
{
- if (&bgp_damp_cfg)
- {
if (bgp_damp_cfg.half_life == DEFAULT_HALF_LIFE*60
&& bgp_damp_cfg.reuse_limit == DEFAULT_REUSE
&& bgp_damp_cfg.suppress_value == DEFAULT_SUPPRESS
@@ -542,8 +540,6 @@ bgp_config_write_damp (struct vty *vty)
bgp_damp_cfg.max_suppress_time/60,
VTY_NEWLINE);
return 1;
- }
- return 0;
}
#define BGP_UPTIME_LEN 25