aboutsummaryrefslogtreecommitdiffstats
path: root/src/stroke/stroke.h
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2006-05-23 10:07:02 +0000
committerMartin Willi <martin@strongswan.org>2006-05-23 10:07:02 +0000
commit7ba69503aa48653ec2a940dced46a7aadd929159 (patch)
tree1fd3da5d9fa475c302008fa9fef1800fa07e0fc0 /src/stroke/stroke.h
parentde1584de4099e5b568292a872ff7687618783cfc (diff)
downloadstrongswan-7ba69503aa48653ec2a940dced46a7aadd929159.tar.bz2
strongswan-7ba69503aa48653ec2a940dced46a7aadd929159.tar.xz
- changed config load strategy:
starter loads both connections in charon & pluto, charon ignores anything with keyexchange!=ikev2. pluto needs the same behavior.
Diffstat (limited to 'src/stroke/stroke.h')
-rw-r--r--src/stroke/stroke.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/stroke/stroke.h b/src/stroke/stroke.h
index 566d2c10c..7e45b3c7d 100644
--- a/src/stroke/stroke.h
+++ b/src/stroke/stroke.h
@@ -71,12 +71,14 @@ struct stroke_msg_t {
/* data for STR_ADD_CONN */
struct {
char *name;
+ /* is this connection handled by charon? */
+ int ikev2;
struct {
char *id;
char *cert;
char *address;
char *subnet;
- u_int8_t subnet_mask;
+ int subnet_mask;
} me, other;
} add_conn;
struct {
@@ -86,10 +88,9 @@ struct stroke_msg_t {
} logtype;
struct {
char *context;
- u_int level;
+ int level;
} loglevel;
};
-
u_int8_t buffer[];
};