From 0f738b8f6c5d89ad5130c74a8dcb9a1df9a190bc Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 29 Apr 2012 13:58:41 +0200 Subject: include route/address flags in vlist comparison --- interface-ip.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'interface-ip.h') 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; }; -- cgit v1.2.3