aboutsummaryrefslogtreecommitdiffstats
path: root/src/starter/starterstroke.c
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2007-02-15 12:13:18 +0000
committerMartin Willi <martin@strongswan.org>2007-02-15 12:13:18 +0000
commita02ae4ccd5353ad63e5b083e38576fe56ef5f368 (patch)
tree85195ed283df8fbf5684c8f31fd231ba5b35c5fd /src/starter/starterstroke.c
parent2c6584c0d2356d40658fff260587d580089400d7 (diff)
downloadstrongswan-a02ae4ccd5353ad63e5b083e38576fe56ef5f368.tar.bz2
strongswan-a02ae4ccd5353ad63e5b083e38576fe56ef5f368.tar.xz
using "left" as my host per default, swapping to "right" when needed
Diffstat (limited to 'src/starter/starterstroke.c')
-rw-r--r--src/starter/starterstroke.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/starter/starterstroke.c b/src/starter/starterstroke.c
index a1987cbde..6239d0ec5 100644
--- a/src/starter/starterstroke.c
+++ b/src/starter/starterstroke.c
@@ -227,8 +227,8 @@ int starter_stroke_add_conn(starter_conn_t *conn)
msg.add_conn.dpd.delay = conn->dpd_delay;
msg.add_conn.dpd.action = conn->dpd_action;
- starter_stroke_add_end(&msg, &msg.add_conn.me, &conn->right);
- starter_stroke_add_end(&msg, &msg.add_conn.other, &conn->left);
+ starter_stroke_add_end(&msg, &msg.add_conn.me, &conn->left);
+ starter_stroke_add_end(&msg, &msg.add_conn.other, &conn->right);
return send_stroke_msg(&msg);
}