summaryrefslogtreecommitdiff
path: root/interface-ip.h
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2013-04-05 11:15:58 +0200
committerJo-Philipp Wich <jow@openwrt.org>2013-04-05 11:15:58 +0200
commitabba48ec2eac7965adac2c590d4d233c03b27c72 (patch)
treefcdd27890789651311f80226ba1210a6c1b43f9d /interface-ip.h
parent8e14def28d08c4bdb9997a518ad85afbc8ccfbc9 (diff)
downloadnetifd-abba48ec2eac7965adac2c590d4d233c03b27c72.tar.gz
Incorperate route table into avl key
Diffstat (limited to 'interface-ip.h')
-rw-r--r--interface-ip.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface-ip.h b/interface-ip.h
index ab78bf7..607999e 100644
--- a/interface-ip.h
+++ b/interface-ip.h
@@ -96,12 +96,12 @@ struct device_route {
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
+ unsigned int table;
unsigned int mask;
union if_addr addr;
};