mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
vpn_l2tp: fix variable assignment, fails L2TP VPN
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com> (cherry picked from commit 5cba4109377ff6e3cfe87a998fb2cac6aa7639dd) Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
d81e831214
commit
f55658dab2
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user