aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2010-07-31 22:32:28 +0000
committerFlorian Fainelli <florian@openwrt.org>2010-07-31 22:32:28 +0000
commit56aa129fed03687a036aca151592e4c27a555732 (patch)
treeedb0c26f9ed4bd19ecd062b5445c816b7e7a8570 /package/base-files/files
parent7fc192e9a5d517f48561243d24a5e0a88cdd0805 (diff)
downloadupstream-56aa129fed03687a036aca151592e4c27a555732.tar.gz
upstream-56aa129fed03687a036aca151592e4c27a555732.tar.bz2
upstream-56aa129fed03687a036aca151592e4c27a555732.zip
add txqueuelen option, patch from Roberto Riggio
SVN-Revision: 22444
Diffstat (limited to 'package/base-files/files')
-rwxr-xr-xpackage/base-files/files/lib/network/config.sh3
1 files changed, 2 insertions, 1 deletions
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"