add a device pointer to struct device_route
authorFelix Fietkau <nbd@openwrt.org>
Wed, 14 Sep 2011 13:58:53 +0000 (15:58 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 14 Sep 2011 13:58:53 +0000 (15:58 +0200)
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);