aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon/control/stroke_interface.c
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2007-04-11 08:34:21 +0000
committerMartin Willi <martin@strongswan.org>2007-04-11 08:34:21 +0000
commit82240938ca46d12e9a7625838320ec1899b0f237 (patch)
tree3ce1cb0fbb4ac57f1e521aa00cb0880c6d0ec1fb /src/charon/control/stroke_interface.c
parent4d50f872d439e84937c583f2ad09cbc78a15936d (diff)
downloadstrongswan-82240938ca46d12e9a7625838320ec1899b0f237.tar.bz2
strongswan-82240938ca46d12e9a7625838320ec1899b0f237.tar.xz
fixed virtual ip configuration bug introduced with the previous commit
Diffstat (limited to 'src/charon/control/stroke_interface.c')
-rwxr-xr-xsrc/charon/control/stroke_interface.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/charon/control/stroke_interface.c b/src/charon/control/stroke_interface.c
index 8d9c94eb9..9b44a2b5d 100755
--- a/src/charon/control/stroke_interface.c
+++ b/src/charon/control/stroke_interface.c
@@ -327,10 +327,7 @@ static void stroke_add_conn(private_stroke_interface_t *this,
{
my_vip = host_create_from_string(msg->add_conn.me.sourceip, 0);
}
- if (msg->add_conn.other.virtual_ip)
- {
- other_vip = host_create_from_string(msg->add_conn.other.sourceip, 0);
- }
+ other_vip = host_create_from_string(msg->add_conn.other.sourceip, 0);
if (msg->add_conn.me.tohost)
{