diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-11-17 15:05:01 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-11-17 15:05:01 +0100 |
commit | 5a0328c7b039a90e988aaab8e03eb8ce5508d62b (patch) | |
tree | 35e3269c90e51aaef1444c10581ed7f1c3cc7725 /device.c | |
parent | ebd3d8417c7a08c03de2d38e8f43422428dd4094 (diff) |
device: preserve orig_settings flags for querying device status
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'device.c')
-rw-r--r-- | device.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -174,7 +174,7 @@ device_merge_settings(struct device *dev, struct device_settings *n) s->dadtransmits : os->dadtransmits; n->multicast_to_unicast = s->multicast_to_unicast; n->multicast_router = s->multicast_router; - n->flags = s->flags | os->flags; + n->flags = s->flags | os->flags | os->valid_flags; } void |