diff options
author | paulo <paul@bayleaf.org.uk> | 2010-02-03 17:17:14 +0000 |
---|---|---|
committer | paulo <paul@bayleaf.org.uk> | 2010-02-03 17:17:14 +0000 |
commit | 157f56e5b338736343d8a1f7a0a70f13a1219e68 (patch) | |
tree | 5c4ae99b1d47ddc59c164c8100b9390bf95e12fb | |
parent | c74710ae84aa3377f44293750ce98313903623e6 (diff) | |
download | quagga-157f56e5b338736343d8a1f7a0a70f13a1219e68.tar.bz2 quagga-157f56e5b338736343d8a1f7a0a70f13a1219e68.tar.xz |
Restore skips around zeroizing route counts in bgp_peer_stop
-rw-r--r-- | bgpd/bgp_peer.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bgpd/bgp_peer.c b/bgpd/bgp_peer.c index fc5ea7bf..095bfeb1 100644 --- a/bgpd/bgp_peer.c +++ b/bgpd/bgp_peer.c @@ -455,12 +455,16 @@ bgp_peer_stop (struct peer *peer) peer->v_holdtime = peer->bgp->default_holdtime; } + /* Until we are sure that there is no problem about prefix count + this should be commented out.*/ +#if 0 /* Reset prefix count */ peer->pcount[AFI_IP][SAFI_UNICAST] = 0; peer->pcount[AFI_IP][SAFI_MULTICAST] = 0; peer->pcount[AFI_IP][SAFI_MPLS_VPN] = 0; peer->pcount[AFI_IP6][SAFI_UNICAST] = 0; peer->pcount[AFI_IP6][SAFI_MULTICAST] = 0; +#endif /* 0 */ return 0; } |