add txqueuelen option, patch from Roberto Riggio
SVN-Revision: 22444
This commit is contained in:
parent
7fc192e9a5
commit
56aa129fed
1 changed files with 2 additions and 1 deletions
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue