diff options
author | John Crispin <john@phrozen.org> | 2020-07-12 18:50:18 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2020-07-18 17:41:57 +0200 |
commit | ccd9ddc10219ae90784411c7774a0d56dbced59b (patch) | |
tree | d95f8f41e6107c8e48f252afeea67b5696fee5e2 /system-dummy.c | |
parent | cb0c07b48fdd137b035fee065e1db1aa7e6c0b1a (diff) |
bridge: add support for turning on vlan_filtering
If we want a bridge to be vlan aware we need to be able to turn on
filtering.
Signed-off-by: John Crispin <john@phrozen.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'system-dummy.c')
-rw-r--r-- | system-dummy.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/system-dummy.c b/system-dummy.c index 080e5a2..a4bf05d 100644 --- a/system-dummy.c +++ b/system-dummy.c @@ -32,7 +32,8 @@ int system_init(void) int system_bridge_addbr(struct device *bridge, struct bridge_config *cfg) { - D(SYSTEM, "brctl addbr %s\n", bridge->ifname); + D(SYSTEM, "brctl addbr %s vlan_filtering=%d\n", + bridge->ifname, cfg->vlan_filtering); return 0; } |