summaryrefslogtreecommitdiffhomepage
path: root/interface-ip.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-09-11 21:29:04 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-09-11 21:29:04 +0200
commit924d9c4e48ed2044efe712eac9cd170f4da4b447 (patch)
tree16b56d077c5c0139f003addd7e3c618592b230d1 /interface-ip.c
parent3e0c4a3072308b334673a405ebf4c1662b895469 (diff)
proto-shell: add l3 interface claim/release
Diffstat (limited to 'interface-ip.c')
-rw-r--r--interface-ip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/interface-ip.c b/interface-ip.c
index baa8b0e..e651d39 100644
--- a/interface-ip.c
+++ b/interface-ip.c
@@ -20,7 +20,7 @@ interface_update_proto_addr(struct vlist_tree *tree,
struct device_addr *addr;
iface = container_of(tree, struct interface, proto_addr);
- dev = iface->l3_iface->dev;
+ dev = iface->l3_dev->dev;
if (node_old) {
addr = container_of(node_old, struct device_addr, node);
@@ -44,7 +44,7 @@ interface_update_proto_route(struct vlist_tree *tree,
struct device_route *route;
iface = container_of(tree, struct interface, proto_route);
- dev = iface->l3_iface->dev;
+ dev = iface->l3_dev->dev;
if (node_old) {
route = container_of(node_old, struct device_route, node);