fix minor typo for iface --> ifname

This commit is contained in:
Arif Ali 2014-03-27 23:03:19 +00:00
parent 8f3b04bd1a
commit f3449882b3

View File

@ -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