mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
vpn_l2tp: fix variable assignment, fails L2TP VPN
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
c71339569d
commit
5cba410937
@ -226,12 +226,12 @@ done
|
|||||||
|
|
||||||
if [ "$dev" == "" ]
|
if [ "$dev" == "" ]
|
||||||
then
|
then
|
||||||
$dev="eth2"
|
dev="eth2"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$cidr" == "" ]
|
if [ "$cidr" == "" ]
|
||||||
then
|
then
|
||||||
$cidr=$(get_intf_ip "eth0")
|
cidr=$(get_intf_ip "eth0")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
[ "$create$destroy" == "11" ] || [ "$create$destroy$useradd$userdel" == "" ] && usage && exit 2
|
[ "$create$destroy" == "11" ] || [ "$create$destroy$useradd$userdel" == "" ] && usage && exit 2
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user