From: Florian Fainelli Date: Sat, 31 Jul 2010 22:32:28 +0000 (+0000) Subject: add txqueuelen option, patch from Roberto Riggio X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=56aa129fed03687a036aca151592e4c27a555732;p=openwrt%2Fstaging%2Fthess.git add txqueuelen option, patch from Roberto Riggio SVN-Revision: 22444 --- diff --git a/package/base-files/files/lib/network/config.sh b/package/base-files/files/lib/network/config.sh index 8321b191bf..22828f83bb 100755 --- a/package/base-files/files/lib/network/config.sh +++ b/package/base-files/files/lib/network/config.sh @@ -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"