aboutsummaryrefslogtreecommitdiffstats
path: root/src/stroke
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2008-03-26 18:40:19 +0000
committerTobias Brunner <tobias@strongswan.org>2008-03-26 18:40:19 +0000
commitdc04b7c743fe6718bd361f13adbbe5436c481486 (patch)
tree6e1f3550847a19bebac26609d28cc8858b10c432 /src/stroke
parent685232670aa717850f304a5299781520405a419d (diff)
downloadstrongswan-dc04b7c743fe6718bd361f13adbbe5436c481486.tar.bz2
strongswan-dc04b7c743fe6718bd361f13adbbe5436c481486.tar.xz
mediation extension adapted to the naming convention of the current version of the draft. note: the external interface (config, autotools) has not yet been changed
Diffstat (limited to 'src/stroke')
-rw-r--r--src/stroke/stroke.c6
-rw-r--r--src/stroke/stroke_msg.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/stroke/stroke.c b/src/stroke/stroke.c
index 6b2e33d1f..3f2a661ba 100644
--- a/src/stroke/stroke.c
+++ b/src/stroke/stroke.c
@@ -129,9 +129,9 @@ static int add_connection(char *name,
msg.add_conn.dpd.delay = 0;
msg.add_conn.dpd.action = 1;
- msg.add_conn.p2p.mediation = 0;
- msg.add_conn.p2p.mediated_by = NULL;
- msg.add_conn.p2p.peerid = NULL;
+ msg.add_conn.ikeme.mediation = 0;
+ msg.add_conn.ikeme.mediated_by = NULL;
+ msg.add_conn.ikeme.peerid = NULL;
msg.add_conn.me.id = push_string(&msg, my_id);
msg.add_conn.me.address = push_string(&msg, my_addr);
diff --git a/src/stroke/stroke_msg.h b/src/stroke/stroke_msg.h
index 1af3c6ec7..c48ebe812 100644
--- a/src/stroke/stroke_msg.h
+++ b/src/stroke/stroke_msg.h
@@ -218,7 +218,7 @@ struct stroke_msg_t {
int mediation;
char *mediated_by;
char *peerid;
- } p2p;
+ } ikeme;
stroke_end_t me, other;
} add_conn;