Incorperate route table into avl key
authorJo-Philipp Wich <jow@openwrt.org>
Fri, 5 Apr 2013 09:15:58 +0000 (11:15 +0200)
committerJo-Philipp Wich <jow@openwrt.org>
Fri, 5 Apr 2013 09:15:58 +0000 (11:15 +0200)
interface-ip.h

index ab78bf7..607999e 100644 (file)
@@ -96,12 +96,12 @@ struct device_route {
 
        union if_addr nexthop;
        int mtu;
 
        union if_addr nexthop;
        int mtu;
-       unsigned int table;
        time_t valid_until;
 
        /* must be last */
        enum device_addr_flags flags;
        int metric; // there can be multiple routes to the same target
        time_t valid_until;
 
        /* must be last */
        enum device_addr_flags flags;
        int metric; // there can be multiple routes to the same target
+       unsigned int table;
        unsigned int mask;
        union if_addr addr;
 };
        unsigned int mask;
        union if_addr addr;
 };