From 82240938ca46d12e9a7625838320ec1899b0f237 Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Wed, 11 Apr 2007 08:34:21 +0000 Subject: [PATCH] fixed virtual ip configuration bug introduced with the previous commit --- src/charon/control/stroke_interface.c | 5 +---- 1 file changed, 1 insertion(+), 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) {