[OpenWrt-Devel] [PATCH] [package] hostapd: vlan bridge naming inconsistent
nbd at openwrt.org
Wed Oct 8 14:50:32 EDT 2014
On 2014-09-28 14:37, Jon Agland wrote:
> VLAN bridge naming is inconsistent when using LuCI and trying to do
> dynamic VLANs with OpenWRT (hostapd).
> hostapd tries to use brvlanyyy but LuCI only creates br-vlanyyy (when
> you use vlanyyy and select bridge)
> This minor patch resolves this issue, so that you can use Dynamic VLAN
> support with VLAN Naming disabled. I've also just submitted a patch for
> LuCI to support dynamic VLANs -
> This needs to be applied to
> Signed-off-by: Jon Agland <jon at sftwales.com>
> --- src/netifd.sh 2014-09-28 13:18:54.246081887 +0100
> +++ vlan/netifd.sh 2014-09-28 13:20:30.114085964 +0100
> @@ -262,6 +262,11 @@
> [ -n "$vlan_tagged_interface" ] && \
> append bss_conf
> "vlan_tagged_interface=$vlan_tagged_interface" "$N"
> + if [ "$dynamic_vlan" -gt 0 ] && [
> "$vlan_naming" -eq 0 ]; then
> + append bss_conf "vlan_bridge=br-vlan" "$N"
> + fi
Several issues with that patch:
- The path is wrong, you should use git or svn to generate the diff.
- the vlan_bridge value should be defined in the config, not hardcoded
- Your mail client has messed up the patch through line wrapping and
Please fix and resend.
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
More information about the openwrt-devel