diff options
author | hasso <hasso> | 2005-09-24 14:00:26 +0000 |
---|---|---|
committer | hasso <hasso> | 2005-09-24 14:00:26 +0000 |
commit | d24af186ea5a964300d93bb6fb4384911153d9d6 (patch) | |
tree | 7b8e57758edca8e12e5004192d6e14bd1cbb43c6 /zebra/rib.h | |
parent | 3d54927678139c580fd3029c17e7d8a94b3a60f7 (diff) |
* rib.h: Add note about behaviour of rib_add_ipv[46]* functions -
add is treated as implicit withdraw.
Diffstat (limited to 'zebra/rib.h')
-rw-r--r-- | zebra/rib.h | 3 |
1 files changed, 3 insertions, 0 deletions
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); |