wifi ucode scripts
e9hack
e9hack at gmail.com
Wed Dec 11 04:08:03 PST 2024
Am 11.12.2024 um 11:50 schrieb John Crispin:
>
> On 09.12.24 19:19, e9hack wrote:
>>
>> 3) vlan settings: vlan_no_bridge must be 0, if vlan_bridge isn't set and the bridge configuration comes from a vlan file
>> It isn't possible to set vlan_no_bridge to 0.
>
> are you sure about this ?
>
> the old code looked like this
>
> if [ -n "$vlan_bridge" ]; then
> append bss_conf "vlan_bridge=$vlan_bridge" "$N"
> else
> set_default vlan_no_bridge 1
> fi
>
> the new code replicates that logic
>
> John
>
New and old code are different. The old code doesn't overwrite vlan_no_bridge if
it is explicitly set in the configuration and vlan_bridge is not set.
The new code ignores the setting of vlan_no_bridge:
function iface_vlan(interface, config, vlans) {
...
config.vlan_no_bridge = !config.vlan_bridge;
...
}
Regards,
Hartmut
More information about the openwrt-devel
mailing list