]> git.puffer.fish Git - mirror/frr.git/commitdiff
* bgp_route.c: Clear peer's routing table regardless whether it's
authorhasso <hasso>
Mon, 17 Jan 2005 11:04:32 +0000 (11:04 +0000)
committerhasso <hasso>
Mon, 17 Jan 2005 11:04:32 +0000 (11:04 +0000)
  configured or not. Being not configured is even better reason to
  do it.

bgpd/ChangeLog
bgpd/bgp_route.c

index 79414defb81ddf2ee44f8a73ff32e1124baa682a..f66857c0f0c3e203001129a712cf4ff90496f2aa 100644 (file)
@@ -1,3 +1,9 @@
+2005-01-17 Hasso Tepper <hasso at quagga.net>
+
+       * 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.
+
 2005-01-05 Paul Jakma <paul@dishone.st>
 
        * bgp_packet.c: (bgp_write) set socket to nonblock while writing
index dfcb0817b3fd71ba14b4b3c104b91717f07da9c6..16fcc89f7b12a5a6b8a821d40cb606fad70c2535 100644 (file)
@@ -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