diff options
author | Martin Willi <martin@revosec.ch> | 2012-07-31 10:00:57 +0200 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2012-08-21 09:38:00 +0200 |
commit | 17319aa28d0aa63847dccd76c7c6acb00037e9f9 (patch) | |
tree | a04b9938ca6ded0ff23e2e704122fbaa3402a3df /src/starter/starterstroke.c | |
parent | f26796deb5614a2a1a5e67fe1f5bac3f77a07cb1 (diff) | |
download | strongswan-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.c | 1 |
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; |