summaryrefslogtreecommitdiffhomepage
path: root/device.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-11-17 15:05:01 +0100
committerFelix Fietkau <nbd@openwrt.org>2015-11-17 15:05:01 +0100
commit5a0328c7b039a90e988aaab8e03eb8ce5508d62b (patch)
tree35e3269c90e51aaef1444c10581ed7f1c3cc7725 /device.h
parentebd3d8417c7a08c03de2d38e8f43422428dd4094 (diff)
device: preserve orig_settings flags for querying device status
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'device.h')
-rw-r--r--device.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/device.h b/device.h
index 4ff335d..a6c131a 100644
--- a/device.h
+++ b/device.h
@@ -128,6 +128,7 @@ struct device_user {
struct device_settings {
unsigned int flags;
+ unsigned int valid_flags;
unsigned int mtu;
unsigned int mtu6;
unsigned int txqueuelen;