summaryrefslogtreecommitdiffhomepage
path: root/interface.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-09-07 14:37:18 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-09-07 14:37:18 +0200
commit69b2dcb92b8402b9c6df4d6a041a890fe6468e18 (patch)
treec0acc6b30947ac7c8499d6d2f402abf837c9008c /interface.h
parent3fa53680c85a6e029a3e7b4d673bffee4795fa52 (diff)
add code for versioned lists and use it to manage addresses and routes
Diffstat (limited to 'interface.h')
-rw-r--r--interface.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/interface.h b/interface.h
index 0f2eb85..36bde41 100644
--- a/interface.h
+++ b/interface.h
@@ -52,7 +52,8 @@ struct interface {
const struct proto_handler *proto_handler;
struct interface_proto_state *proto;
- struct list_head address, routes;
+ struct vlist_tree proto_addr;
+ struct vlist_tree proto_route;
/* errors/warnings while trying to bring up the interface */
struct list_head errors;