From: Roy Marples Date: Wed, 15 Jan 2020 19:16:58 +0000 (+0000) Subject: anonymous: Allow Domain Name option through. X-Git-Tag: v9.0.0~112 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3eaf2905de69aac43f14df2d38ab9decc093a112;p=thirdparty%2Fdhcpcd.git anonymous: Allow Domain Name option through. To be clear, we don't send our domain name, we just request one for old servers that don't support Domain Search. --- diff --git a/src/if-options.c b/src/if-options.c index 628abf24..2b4cd1ed 100644 --- a/src/if-options.c +++ b/src/if-options.c @@ -1254,6 +1254,7 @@ parse_option(struct dhcpcd_ctx *ctx, const char *ifname, struct if_options *ifo, del_option_mask(ifo->nomask, DHO_CSR); del_option_mask(ifo->nomask, DHO_ROUTER); del_option_mask(ifo->nomask, DHO_DNSSERVER); + del_option_mask(ifo->nomask, DHO_DNSDOMAIN); del_option_mask(ifo->nomask, DHO_BROADCAST); del_option_mask(ifo->nomask, DHO_STATICROUTE); del_option_mask(ifo->nomask, DHO_SERVERID);