[OpenWrt-Devel] [PATCHv2 netifd 2/3] bridge: Allow setting multicast_to_unicast option
nbd at openwrt.org
Wed Aug 5 07:38:28 EDT 2015
On 2015-08-05 01:00, Linus Lüssing wrote:
> 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 at c0d3.blue>
I think it would be better to store these flags in the bridge config
instead of the generic device config, and either add a blob_buf argument
in struct device_hotplug_ops -> prepare, or add a new callback get_info,
which adds the bridge info for use in the wireless json.
I would like to avoid polluting the generic device options with bridge
This patch should probably be merged with the previous one afterwards,
since the first one without any other changes will cause regressions.
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
More information about the openwrt-devel