You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bh...@apache.org on 2015/04/23 14:28:22 UTC

[3/4] git commit: updated refs/heads/master to 6829399

vpn_l2tp: fix variable assignment, fails L2TP VPN

Signed-off-by: Rohit Yadav <ro...@shapeblue.com>
(cherry picked from commit 5cba4109377ff6e3cfe87a998fb2cac6aa7639dd)
Signed-off-by: Rohit Yadav <ro...@shapeblue.com>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/f55658da
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/f55658da
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/f55658da

Branch: refs/heads/master
Commit: f55658dab2e641a65c01df8d9440c09001b0a598
Parents: d81e831
Author: Rohit Yadav <ro...@shapeblue.com>
Authored: Thu Apr 23 11:47:43 2015 +0200
Committer: Rohit Yadav <ro...@shapeblue.com>
Committed: Thu Apr 23 14:19:34 2015 +0200

----------------------------------------------------------------------
 systemvm/patches/debian/vpn/opt/cloud/bin/vpn_l2tp.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f55658da/systemvm/patches/debian/vpn/opt/cloud/bin/vpn_l2tp.sh
----------------------------------------------------------------------
diff --git a/systemvm/patches/debian/vpn/opt/cloud/bin/vpn_l2tp.sh b/systemvm/patches/debian/vpn/opt/cloud/bin/vpn_l2tp.sh
index 83d5272..7fb44e6 100755
--- a/systemvm/patches/debian/vpn/opt/cloud/bin/vpn_l2tp.sh
+++ b/systemvm/patches/debian/vpn/opt/cloud/bin/vpn_l2tp.sh
@@ -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