fix minor typo for iface --> ifname
This commit is contained in:
parent
8f3b04bd1a
commit
f3449882b3
@ -439,7 +439,7 @@ if [ "$op" = "add" ]; then
|
||||
else
|
||||
if [ "$(uname -s)" = "Linux" ]; then
|
||||
if [ "$gw" = "" -o "$gw" = "0.0.0.0" ] ; then
|
||||
cmd="route add -net $net netmask $mask dev $iface"
|
||||
cmd="route add -net $net netmask $mask dev $ifname"
|
||||
else
|
||||
cmd="route add -net $net netmask $mask gw $gw"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user