diff options
author | Linus Lüssing <linus.luessing@c0d3.blue> | 2015-08-23 17:19:27 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-08-25 08:46:30 +0200 |
commit | 1488a64acb77f721fc10d90b0453d95b488460e1 (patch) | |
tree | d3a3849cfc1d0cbfc467dba7b3ee7fff7e56282e /scripts | |
parent | 827145f01d849c663f18e356157fd71f1a7cc45d (diff) | |
download | netifd-1488a64acb77f721fc10d90b0453d95b488460e1.tar.gz |
bridge: Allow setting multicast_to_unicast option
With this patch the multicast_to_unicast feature can be disabled for all
wireless interfaces via an according option on the uci bridge interface.
This patch also exports the setting information to wireless handler
scripts. The hostapd script will need that information to determine
whether to enable or disable ap-isolation, for instance.
Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/netifd-wireless.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/netifd-wireless.sh b/scripts/netifd-wireless.sh index f981f1b..83a8223 100644 --- a/scripts/netifd-wireless.sh +++ b/scripts/netifd-wireless.sh @@ -274,6 +274,7 @@ for_each_interface() { json_select "$_w_iface" if [ -n "$_w_types" ]; then json_get_var network_bridge bridge + json_get_var multicast_to_unicast multicast_to_unicast json_select config _wireless_set_brsnoop_isolation "$multicast_to_unicast" json_get_var _w_type mode |