aboutsummaryrefslogtreecommitdiffstats
path: root/src/starter/starterstroke.c
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2012-07-31 10:00:57 +0200
committerMartin Willi <martin@revosec.ch>2012-08-21 09:38:00 +0200
commit17319aa28d0aa63847dccd76c7c6acb00037e9f9 (patch)
treea04b9938ca6ded0ff23e2e704122fbaa3402a3df /src/starter/starterstroke.c
parentf26796deb5614a2a1a5e67fe1f5bac3f77a07cb1 (diff)
downloadstrongswan-17319aa28d0aa63847dccd76c7c6acb00037e9f9.tar.bz2
strongswan-17319aa28d0aa63847dccd76c7c6acb00037e9f9.tar.xz
Add a left/rightdns keyword to configure connection specific DNS attributes
Diffstat (limited to 'src/starter/starterstroke.c')
-rw-r--r--src/starter/starterstroke.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/starter/starterstroke.c b/src/starter/starterstroke.c
index 0fbc5d245..79bb0ba31 100644
--- a/src/starter/starterstroke.c
+++ b/src/starter/starterstroke.c
@@ -141,6 +141,7 @@ static void starter_stroke_add_end(stroke_msg_t *msg, stroke_end_t *msg_end, sta
msg_end->subnets = push_string(msg, conn_end->subnet);
msg_end->sourceip = push_string(msg, conn_end->sourceip);
msg_end->sourceip_mask = conn_end->sourceip_mask;
+ msg_end->dns = push_string(msg, conn_end->dns);
msg_end->sendcert = conn_end->sendcert;
msg_end->hostaccess = conn_end->hostaccess;
msg_end->tohost = !conn_end->subnet;