diff options
author | Martin Willi <martin@strongswan.org> | 2007-02-12 15:56:47 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2007-02-12 15:56:47 +0000 |
commit | f27f6296e6ae5beece739342fd54528cf91e5394 (patch) | |
tree | c868a123b98b8a244b249473ab91b0bd4a764b31 /src/stroke | |
parent | 6fda18d99d2b6eac921e731a52229d9c1cf8a295 (diff) | |
download | strongswan-f27f6296e6ae5beece739342fd54528cf91e5394.tar.bz2 strongswan-f27f6296e6ae5beece739342fd54528cf91e5394.tar.xz |
merged EAP framework from branch into trunk
includes a lot of other modifications
Diffstat (limited to 'src/stroke')
-rw-r--r-- | src/stroke/stroke.c | 2 | ||||
-rw-r--r-- | src/stroke/stroke.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/stroke/stroke.c b/src/stroke/stroke.c index 31293a7d3..ebb12b710 100644 --- a/src/stroke/stroke.c +++ b/src/stroke/stroke.c @@ -106,6 +106,8 @@ static int add_connection(char *name, msg.add_conn.name = push_string(&msg, name); msg.add_conn.ikev2 = 1; + msg.add_conn.auth_method = 2; + msg.add_conn.eap_type = 0; msg.add_conn.mode = 1; msg.add_conn.rekey.reauth = 0; diff --git a/src/stroke/stroke.h b/src/stroke/stroke.h index bbc1e6e01..7d3f45d13 100644 --- a/src/stroke/stroke.h +++ b/src/stroke/stroke.h @@ -137,6 +137,7 @@ struct stroke_msg_t { char *name; int ikev2; int auth_method; + int eap_type; int mode; struct { char *ike; |