aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon/control/stroke_interface.c
diff options
context:
space:
mode:
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)
{