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/libcharon/plugins/stroke/stroke_socket.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/libcharon/plugins/stroke/stroke_socket.c')
-rw-r--r-- | src/libcharon/plugins/stroke/stroke_socket.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libcharon/plugins/stroke/stroke_socket.c b/src/libcharon/plugins/stroke/stroke_socket.c index 6bf65cc7e..427a5e83f 100644 --- a/src/libcharon/plugins/stroke/stroke_socket.c +++ b/src/libcharon/plugins/stroke/stroke_socket.c @@ -171,6 +171,7 @@ static void pop_end(stroke_msg_t *msg, const char* label, stroke_end_t *end) pop_string(msg, &end->address); pop_string(msg, &end->subnets); pop_string(msg, &end->sourceip); + pop_string(msg, &end->dns); pop_string(msg, &end->auth); pop_string(msg, &end->auth2); pop_string(msg, &end->id); @@ -188,6 +189,7 @@ static void pop_end(stroke_msg_t *msg, const char* label, stroke_end_t *end) DBG2(DBG_CFG, " %s=%s", label, end->address); DBG2(DBG_CFG, " %ssubnet=%s", label, end->subnets); DBG2(DBG_CFG, " %ssourceip=%s", label, end->sourceip); + DBG2(DBG_CFG, " %sdns=%s", label, end->dns); DBG2(DBG_CFG, " %sauth=%s", label, end->auth); DBG2(DBG_CFG, " %sauth2=%s", label, end->auth2); DBG2(DBG_CFG, " %sid=%s", label, end->id); |