fixed virtual ip configuration bug introduced with the previous commit
authorMartin Willi <martin@strongswan.org>
Wed, 11 Apr 2007 08:34:21 +0000 (08:34 -0000)
committerMartin Willi <martin@strongswan.org>
Wed, 11 Apr 2007 08:34:21 +0000 (08:34 -0000)
src/charon/control/stroke_interface.c

index 8d9c94e..9b44a2b 100755 (executable)
@@ -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)
        {