mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 10:18:25 +00:00
Fix missing RA RDNS option with --dhcp-option=option6:23,[::]
This commit is contained in:
@@ -7,6 +7,10 @@ version 2.69
|
|||||||
Fix infinite loop associated with some --bogus-nxdomain
|
Fix infinite loop associated with some --bogus-nxdomain
|
||||||
configs. Thanks fogobogo for the bug report.
|
configs. Thanks fogobogo for the bug report.
|
||||||
|
|
||||||
|
Fix missing RA RDNS option with configuration like
|
||||||
|
--dhcp-option=option6:23,[::] Thanks to Tsachi Kimeldorfer
|
||||||
|
for spotting the problem.
|
||||||
|
|
||||||
|
|
||||||
version 2.68
|
version 2.68
|
||||||
Use random addresses for DHCPv6 temporary address
|
Use random addresses for DHCPv6 temporary address
|
||||||
|
|||||||
@@ -343,7 +343,7 @@ static void send_ra(time_t now, int iface, char *iface_name, struct in6_addr *de
|
|||||||
struct in6_addr *a = (struct in6_addr *)opt_cfg->val;
|
struct in6_addr *a = (struct in6_addr *)opt_cfg->val;
|
||||||
|
|
||||||
done_dns = 1;
|
done_dns = 1;
|
||||||
if (opt_cfg->len == 0 || (IN6_IS_ADDR_UNSPECIFIED(a) && parm.pref_time != 0))
|
if (opt_cfg->len == 0 || (IN6_IS_ADDR_UNSPECIFIED(a) && parm.pref_time == 0))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
put_opt6_char(ICMP6_OPT_RDNSS);
|
put_opt6_char(ICMP6_OPT_RDNSS);
|
||||||
|
|||||||
Reference in New Issue
Block a user