added support for transport mode and (experimental!) BEET mode
[strongswan.git] / src / stroke / stroke.c
index 2221915..31293a7 100644 (file)
@@ -106,6 +106,7 @@ static int add_connection(char *name,
        
        msg.add_conn.name = push_string(&msg, name);
        msg.add_conn.ikev2 = 1;
+       msg.add_conn.mode = 1;
        
        msg.add_conn.rekey.reauth = 0;
        msg.add_conn.rekey.ipsec_lifetime = 0;