X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;ds=inline;f=interface-ip.h;h=057f0d05526b66dfce511010ccd9c23ce28e9db2;hb=b9f116ece5ca85c38105a8e33f0d9cc818a05694;hp=ba7b6c826575cafe73e3cdda3c3108d38e33e7ef;hpb=b45c5161fe4638dc229a7ae4f0c90c57962d9ec1;p=project%2Fnetifd.git diff --git a/interface-ip.h b/interface-ip.h index ba7b6c8..057f0d0 100644 --- a/interface-ip.h +++ b/interface-ip.h @@ -24,6 +24,7 @@ struct device_addr { enum device_addr_flags flags; + /* must be last */ unsigned int mask; union if_addr addr; }; @@ -34,10 +35,12 @@ struct device_route { enum device_addr_flags flags; bool keep; - unsigned int mask; - union if_addr addr; union if_addr nexthop; struct device *device; + + /* must be last */ + unsigned int mask; + union if_addr addr; }; void interface_ip_init(struct interface *iface);