[package] add txqueuelen option, patch from Roberto Riggio
[openwrt.git] / package / base-files / files / lib / network / config.sh
index 8321b19..22828f8 100755 (executable)
@@ -328,8 +328,9 @@ setup_interface() {
                local mtu macaddr
                config_get mtu "$config" mtu
                config_get macaddr "$config" macaddr
+               config_get txqueuelen "$config" txqueuelen
                [ -n "$macaddr" ] && $DEBUG ifconfig "$iface" down
-               $DEBUG ifconfig "$iface" ${macaddr:+hw ether "$macaddr"} ${mtu:+mtu $mtu} up
+               $DEBUG ifconfig "$iface_main" ${macaddr:+hw ether "$macaddr"} ${mtu:+mtu $mtu} ${txqueuelen:+txqueuelen $txqueuelen} up
        }
        set_interface_ifname "$config" "$iface"
 
This page took 0.029881 seconds and 4 git commands to generate.