diff options
author | hasso <hasso> | 2005-09-24 14:00:26 +0000 |
---|---|---|
committer | hasso <hasso> | 2005-09-24 14:00:26 +0000 |
commit | dde5bcc78ba3ed8784e56c67060e2a040d17d51a (patch) | |
tree | 96e6685b4e4063517a256e6c9875cf3ca270af82 | |
parent | 1054acecbb3015027c2e2e3ef09a0a2016774c3d (diff) | |
download | quagga-dde5bcc78ba3ed8784e56c67060e2a040d17d51a.tar.bz2 quagga-dde5bcc78ba3ed8784e56c67060e2a040d17d51a.tar.xz |
* rib.h: Add note about behaviour of rib_add_ipv[46]* functions -
add is treated as implicit withdraw.
-rw-r--r-- | zebra/ChangeLog | 5 | ||||
-rw-r--r-- | zebra/rib.h | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/zebra/ChangeLog b/zebra/ChangeLog index cbfb4b66..6c921fd2 100644 --- a/zebra/ChangeLog +++ b/zebra/ChangeLog @@ -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 diff --git a/zebra/rib.h b/zebra/rib.h index 12ed8b7c..8d128464 100644 --- a/zebra/rib.h +++ b/zebra/rib.h @@ -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); |