summaryrefslogtreecommitdiff
path: root/system.h
diff options
context:
space:
mode:
authorJohn Crispin <john@phrozen.org>2020-07-12 18:50:18 +0200
committerFelix Fietkau <nbd@nbd.name>2020-07-18 17:41:57 +0200
commitccd9ddc10219ae90784411c7774a0d56dbced59b (patch)
treed95f8f41e6107c8e48f252afeea67b5696fee5e2 /system.h
parentcb0c07b48fdd137b035fee065e1db1aa7e6c0b1a (diff)
downloadnetifd-ccd9ddc10219ae90784411c7774a0d56dbced59b.tar.gz
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.h')
-rw-r--r--system.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/system.h b/system.h
index 252fd92..258b1af 100644
--- a/system.h
+++ b/system.h
@@ -127,6 +127,8 @@ struct bridge_config {
int hello_time;
int max_age;
int hash_max;
+
+ bool vlan_filtering;
};
enum macvlan_opt {