summaryrefslogtreecommitdiff
path: root/device.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2021-08-27 12:15:07 +0200
committerFelix Fietkau <nbd@nbd.name>2021-08-27 12:17:19 +0200
commitd590fbd255cecd4c3a4c267e7ca377772574cf72 (patch)
tree2d3893e5c0f0e4513f5b15ea8298617a1c0dc034 /device.h
parent454e9c33c90691d5bea12263f1801a7dc38c20b1 (diff)
downloadnetifd-d590fbd255cecd4c3a4c267e7ca377772574cf72.tar.gz
wireless: always enable bpdu filter for AP interfaces and VLANs
Regular AP/VLAN interfaces using 3-address modes should transmit any STP packets, since devices behind them can not be part of any working bridge topology. Enable a feature that drops any incoming or outgoing STP packets. This does not apply to WDS AP VLAN or client mode interfaces, since they could act as a proper bridge link Signed-off-by: Felix Fietkau <nbd@nbd.name>
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 4f80caa..88cce9a 100644
--- a/device.h
+++ b/device.h
@@ -244,6 +244,7 @@ struct device {
bool wireless;
bool wireless_ap;
bool wireless_isolate;
+ bool bpdu_filter;
struct interface *config_iface;