diff options
author | Martin Mares <mj@ucw.cz> | 2000-05-13 13:00:37 +0200 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-05-13 13:00:37 +0200 |
commit | 08f0290a1ebf94624c4eb4cbcb10e2b35a846432 (patch) | |
tree | ccc1abb60743bc96de35316de0c2435b65fc8f2a /nest/protocol.h | |
parent | bfd7117846271a5e54271ee5248addd7e10ad021 (diff) | |
download | bird-08f0290a1ebf94624c4eb4cbcb10e2b35a846432.tar bird-08f0290a1ebf94624c4eb4cbcb10e2b35a846432.zip |
Changed semantics of the rt_update hook. The attribute list we pass now
contains all attributes, not just the temporary ones. This avoids having
to merge the lists inside protocols or doing searches on both of them.
Also, do filtering of routes properly. (I'd like to avoid it, but it's
needed at least in the krt protocol.)
Diffstat (limited to 'nest/protocol.h')
-rw-r--r-- | nest/protocol.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nest/protocol.h b/nest/protocol.h index 7ba4419..f08b3bc 100644 --- a/nest/protocol.h +++ b/nest/protocol.h @@ -125,7 +125,7 @@ struct proto { void (*if_notify)(struct proto *, unsigned flags, struct iface *i); void (*ifa_notify)(struct proto *, unsigned flags, struct ifa *a); - void (*rt_notify)(struct proto *, struct network *net, struct rte *new, struct rte *old, struct ea_list *tmpa); + void (*rt_notify)(struct proto *, struct network *net, struct rte *new, struct rte *old, struct ea_list *attrs); void (*neigh_notify)(struct neighbor *neigh); struct ea_list *(*make_tmp_attrs)(struct rte *rt, struct linpool *pool); void (*store_tmp_attrs)(struct rte *rt, struct ea_list *attrs); |