fix minor typo for iface --> ifname
This commit is contained in:
parent
e4206c86b4
commit
b856832809
@ -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