diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-04-29 13:58:41 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-04-29 14:02:24 +0200 |
commit | 0f738b8f6c5d89ad5130c74a8dcb9a1df9a190bc (patch) | |
tree | 6e3c3bc9dd4d0bb19cec73ce2b1b0d218a21f861 /interface-ip.h | |
parent | 8a1a1dda9cfff45a7cd48f5d108d0174fadd84ee (diff) |
include route/address flags in vlist comparison
Diffstat (limited to 'interface-ip.h')
-rw-r--r-- | interface-ip.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/interface-ip.h b/interface-ip.h index df5545d..887c62c 100644 --- a/interface-ip.h +++ b/interface-ip.h @@ -23,14 +23,13 @@ union if_addr { struct device_addr { struct vlist_node node; - - enum device_addr_flags flags; bool enabled; /* ipv4 only */ uint32_t broadcast; /* must be last */ + enum device_addr_flags flags; unsigned int mask; union if_addr addr; }; @@ -38,7 +37,6 @@ struct device_addr { struct device_route { struct vlist_node node; - enum device_addr_flags flags; bool enabled; bool keep; @@ -47,6 +45,7 @@ struct device_route { int mtu; /* must be last */ + enum device_addr_flags flags; unsigned int mask; union if_addr addr; }; |