vpn_l2tp: fix variable assignment, fails L2TP VPN

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
Rohit Yadav 2015-04-23 11:47:43 +02:00
parent c71339569d
commit 5cba410937

View File

@ -226,12 +226,12 @@ done
if [ "$dev" == "" ]
then
$dev="eth2"
dev="eth2"
fi
if [ "$cidr" == "" ]
then
$cidr=$(get_intf_ip "eth0")
cidr=$(get_intf_ip "eth0")
fi
[ "$create$destroy" == "11" ] || [ "$create$destroy$useradd$userdel" == "" ] && usage && exit 2