add a device pointer to struct device_route
[project/netifd.git] / interface-ip.h
index bf2cf73..ba7b6c8 100644 (file)
@@ -37,6 +37,7 @@ struct device_route {
        unsigned int mask;
        union if_addr addr;
        union if_addr nexthop;
        unsigned int mask;
        union if_addr addr;
        union if_addr nexthop;
+       struct device *device;
 };
 
 void interface_ip_init(struct interface *iface);
 };
 
 void interface_ip_init(struct interface *iface);