summaryrefslogtreecommitdiffhomepage
path: root/interface-ip.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-04-30 19:41:48 +0200
committerFelix Fietkau <nbd@openwrt.org>2012-04-30 19:41:48 +0200
commit0cd5498ea51d681124d713130aef7a964b30ef25 (patch)
treec49aa733464c320d8bd2986ff8a1f2ede9cf915a /interface-ip.h
parentcd4b616312da6714fcd7768c4271a1b69261180f (diff)
store a pointer to the active interface as part of the device route
Diffstat (limited to 'interface-ip.h')
-rw-r--r--interface-ip.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/interface-ip.h b/interface-ip.h
index 887c62c..28df093 100644
--- a/interface-ip.h
+++ b/interface-ip.h
@@ -36,6 +36,7 @@ struct device_addr {
struct device_route {
struct vlist_node node;
+ struct interface *iface;
bool enabled;
bool keep;