store a pointer to the active interface as part of the device route
[project/netifd.git] / interface-ip.h
index 887c62c..28df093 100644 (file)
@@ -36,6 +36,7 @@ struct device_addr {
 
 struct device_route {
        struct vlist_node node;
+       struct interface *iface;
 
        bool enabled;
        bool keep;