From: Felix Fietkau Date: Wed, 14 Sep 2011 13:58:53 +0000 (+0200) Subject: add a device pointer to struct device_route X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b45c5161fe4638dc229a7ae4f0c90c57962d9ec1;p=oweals%2Fnetifd.git add a device pointer to struct device_route --- diff --git a/interface-ip.h b/interface-ip.h index bf2cf73..ba7b6c8 100644 --- a/interface-ip.h +++ b/interface-ip.h @@ -37,6 +37,7 @@ struct device_route { unsigned int mask; union if_addr addr; union if_addr nexthop; + struct device *device; }; void interface_ip_init(struct interface *iface);