fix minor typo for iface --> ifname

This commit is contained in:
Arif Ali 2014-03-27 23:02:45 +00:00
parent e4206c86b4
commit b856832809

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