diff options
author | hasso <hasso> | 2005-01-17 11:04:32 +0000 |
---|---|---|
committer | hasso <hasso> | 2005-01-17 11:04:32 +0000 |
commit | f127165de02a66934082f23810fab37d7efbce8b (patch) | |
tree | aed5017ae77c2927b48bc5950c928782ef9c8d80 /bgpd/bgp_route.c | |
parent | 583d800c11922018af02420a758f974be691065f (diff) |
* bgp_route.c: Clear peer's routing table regardless whether it's
configured or not. Being not configured is even better reason to
do it.
Diffstat (limited to 'bgpd/bgp_route.c')
-rw-r--r-- | bgpd/bgp_route.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c index dfcb0817..16fcc89f 100644 --- a/bgpd/bgp_route.c +++ b/bgpd/bgp_route.c @@ -2248,9 +2248,6 @@ bgp_clear_route (struct peer *peer, afi_t afi, safi_t safi) struct peer *rsclient; struct listnode *nn; - if (! peer->afc[afi][safi]) - return; - if (safi != SAFI_MPLS_VPN) bgp_clear_route_table (peer, afi, safi, NULL, NULL); else |