projects
/
oweals
/
odhcp6c.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74b94c1
)
filter DNS-domain from passthru
author
Steven Barth
<steven@midlink.org>
Fri, 23 May 2014 06:29:34 +0000
(08:29 +0200)
committer
Steven Barth
<steven@midlink.org>
Fri, 23 May 2014 06:29:34 +0000
(08:29 +0200)
src/dhcpv6.c
patch
|
blob
|
history
diff --git
a/src/dhcpv6.c
b/src/dhcpv6.c
index 4fbff843459b0614ecc0c840bff2781261a44bd4..df6e1206b87eb35d11d814be26e83fe785d0d09e 100644
(file)
--- 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);