From 08f0290a1ebf94624c4eb4cbcb10e2b35a846432 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sat, 13 May 2000 11:00:37 +0000 Subject: 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.) --- nest/protocol.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nest/protocol.h') diff --git a/nest/protocol.h b/nest/protocol.h index 7ba44192..f08b3bc3 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); -- cgit v1.2.3