summaryrefslogtreecommitdiff
path: root/system.h
diff options
context:
space:
mode:
authorHans Dedecker <dedeckeh@gmail.com>2014-03-10 16:27:51 +0100
committerFelix Fietkau <nbd@openwrt.org>2014-03-11 10:22:57 +0100
commit02021e2069d0ee315b0ff263b6c010bef63b879c (patch)
tree73d096226852fa43cd41963a6d93627a3171d18f /system.h
parent8aabd47c6f4fefc8fbd70c34a738f7c26956d8cd (diff)
downloadnetifd-02021e2069d0ee315b0ff263b6c010bef63b879c.tar.gz
netifd: Fix bridge MTU setting when a bridge member is added
Reapply bridge mtu setting as adding a bridge member will override the bridge mtu in the kernel Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'system.h')
-rw-r--r--system.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/system.h b/system.h
index ff83a1c..1ad861a 100644
--- a/system.h
+++ b/system.h
@@ -104,8 +104,8 @@ int system_if_dump_info(struct device *dev, struct blob_buf *b);
int system_if_dump_stats(struct device *dev, struct blob_buf *b);
struct device *system_if_get_parent(struct device *dev);
bool system_if_force_external(const char *ifname);
-void system_if_apply_settings(struct device *dev, struct device_settings *s);
-
+void system_if_apply_settings(struct device *dev, struct device_settings *s,
+ unsigned int apply_mask);
int system_add_address(struct device *dev, struct device_addr *addr);
int system_del_address(struct device *dev, struct device_addr *addr);