aboutsummaryrefslogtreecommitdiffstats
path: root/src/starter/starterstroke.c
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2010-07-09 09:06:02 +0200
committerAndreas Steffen <andreas.steffen@strongswan.org>2010-07-09 09:06:07 +0200
commit26c4d0102a77802ad9e7edef97f4eed77e1bb52d (patch)
tree3ce6da383dd67a6f652bafbfb24f6ec6586aa6a2 /src/starter/starterstroke.c
parent6f07f5e3d403cde79411219ba332acd21a17039d (diff)
downloadstrongswan-26c4d0102a77802ad9e7edef97f4eed77e1bb52d.tar.bz2
strongswan-26c4d0102a77802ad9e7edef97f4eed77e1bb52d.tar.xz
configuration of different marks for inbound and outbound direction
Diffstat (limited to 'src/starter/starterstroke.c')
-rw-r--r--src/starter/starterstroke.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/starter/starterstroke.c b/src/starter/starterstroke.c
index 475f07c74..9c69ab9e5 100644
--- a/src/starter/starterstroke.c
+++ b/src/starter/starterstroke.c
@@ -270,8 +270,10 @@ int starter_stroke_add_conn(starter_config_t *cfg, starter_conn_t *conn)
msg.add_conn.ikeme.mediated_by = push_string(&msg, conn->me_mediated_by);
msg.add_conn.ikeme.peerid = push_string(&msg, conn->me_peerid);
msg.add_conn.reqid = conn->reqid;
- msg.add_conn.mark.value = conn->mark_value;
- msg.add_conn.mark.mask = conn->mark_mask;
+ msg.add_conn.mark_in.value = conn->mark_in.value;
+ msg.add_conn.mark_in.mask = conn->mark_in.mask;
+ msg.add_conn.mark_out.value = conn->mark_out.value;
+ msg.add_conn.mark_out.mask = conn->mark_out.mask;
starter_stroke_add_end(&msg, &msg.add_conn.me, &conn->left);
starter_stroke_add_end(&msg, &msg.add_conn.other, &conn->right);