]> git.puffer.fish Git - mirror/frr.git/commitdiff
* rib.h: Add note about behaviour of rib_add_ipv[46]* functions -
authorhasso <hasso>
Sat, 24 Sep 2005 14:00:26 +0000 (14:00 +0000)
committerhasso <hasso>
Sat, 24 Sep 2005 14:00:26 +0000 (14:00 +0000)
  add is treated as implicit withdraw.

zebra/ChangeLog
zebra/rib.h

index cbfb4b66774c6a6d15cf02d8a4a40339585c2ace..6c921fd255980a80afba48fbcd082abac1c25636 100644 (file)
@@ -1,3 +1,8 @@
+2005-09-24 Hasso Tepper <hasso at quagga.net>
+
+       * rib.h: Add note about behaviour of rib_add_ipv[46]* functions -
+         add is treated as implicit withdraw.
+
 2005-09-21 David Young <dyoung@ojctech.com>
 
        * zebra_rib.c: Reduce the height of some staircases. Fix
index 12ed8b7c573f3f898c1f5083a1f78991f57735dc..8d1284642e1d2b2681c2245c448aae223ba90db5 100644 (file)
@@ -213,6 +213,9 @@ extern struct vrf *vrf_lookup (u_int32_t);
 extern struct route_table *vrf_table (afi_t afi, safi_t safi, u_int32_t id);
 extern struct route_table *vrf_static_table (afi_t afi, safi_t safi, u_int32_t id);
 
+/* NOTE:
+ * All rib_add_ipv[46]* functions will not just add prefix into RIB, but
+ * also implicitly withdraw equal prefix of same type. */
 extern int rib_add_ipv4 (int type, int flags, struct prefix_ipv4 *p, 
                         struct in_addr *gate, unsigned int ifindex, 
                         u_int32_t vrf_id, u_int32_t, u_char);