Add a left/rightdns keyword to configure connection specific DNS attributes

This commit is contained in:
Martin Willi
2012-08-21 09:38:00 +02:00
parent f26796deb5
commit 17319aa28d
7 changed files with 11 additions and 0 deletions
+1
View File
@@ -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;