mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 01:01:52 +02:00
[package] add txqueuelen option, patch from Roberto Riggio
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22444 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
805beb6cd9
commit
f2ce924259
@ -328,8 +328,9 @@ setup_interface() {
|
|||||||
local mtu macaddr
|
local mtu macaddr
|
||||||
config_get mtu "$config" mtu
|
config_get mtu "$config" mtu
|
||||||
config_get macaddr "$config" macaddr
|
config_get macaddr "$config" macaddr
|
||||||
|
config_get txqueuelen "$config" txqueuelen
|
||||||
[ -n "$macaddr" ] && $DEBUG ifconfig "$iface" down
|
[ -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"
|
set_interface_ifname "$config" "$iface"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user