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 

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to