summaryrefslogtreecommitdiff
path: root/src/dhcpv6.c
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2014-05-23 08:29:34 +0200
committerSteven Barth <steven@midlink.org>2014-05-23 08:29:34 +0200
commitb38d8871977d3b97cc3c3e7f2ad203852166c661 (patch)
treeb3c22e9655103cc053dd50600433c93626c6f1b7 /src/dhcpv6.c
parent74b94c1442ec0897c1f90a314838594a5d42bb87 (diff)
downloadodhcp6c-b38d8871977d3b97cc3c3e7f2ad203852166c661.tar.gz
filter DNS-domain from passthru
Diffstat (limited to 'src/dhcpv6.c')
-rw-r--r--src/dhcpv6.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dhcpv6.c b/src/dhcpv6.c
index 4fbff84..df6e120 100644
--- a/src/dhcpv6.c
+++ b/src/dhcpv6.c
@@ -980,6 +980,7 @@ static int dhcpv6_handle_reply(enum dhcpv6_msg orig, _unused const int rc,
odhcp6c_add_state(STATE_DNS, odata, olen);
} else if (otype == DHCPV6_OPT_DNS_DOMAIN) {
odhcp6c_add_state(STATE_SEARCH, odata, olen);
+ passthru = false;
} else if (otype == DHCPV6_OPT_SNTP_SERVERS) {
if (olen % 16 == 0)
odhcp6c_add_state(STATE_SNTP_IP, odata, olen);