mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 18:28:25 +00:00
Add dhcp-ignore-clid configuration option
The idea of this option was already discussed years ago on the mailing list: https://dnsmasq-discuss.thekelleys.org.narkive.com/ZoFQNaGo/always-ignore-client-identifier#post4 In our production environnement, we discovered that some devices are using 'client identifier' not unique at all, resulting on IP addresses conflicts between several devices (we saw up to four devices using same IP address). The root cause is probably a buggy operating system/configuration of decices, but this patch add a configuration workaround on server side when fixing clients is impossible. Signed-off-by: Charles Daymand <charles.daymand@wifirst.fr> Signed-off-by: Florent Fourcot <florent.fourcot@wifirst.fr>
This commit is contained in:
committed by
Simon Kelley
parent
19b0e3bf21
commit
13a58f9590
@@ -261,7 +261,8 @@ struct event_desc {
|
||||
#define OPT_TFTP_APREF_MAC 56
|
||||
#define OPT_RAPID_COMMIT 57
|
||||
#define OPT_UBUS 58
|
||||
#define OPT_LAST 59
|
||||
#define OPT_IGNORE_CLID 59
|
||||
#define OPT_LAST 60
|
||||
|
||||
#define OPTION_BITS (sizeof(unsigned int)*8)
|
||||
#define OPTION_SIZE ( (OPT_LAST/OPTION_BITS)+((OPT_LAST%OPTION_BITS)!=0) )
|
||||
|
||||
Reference in New Issue
Block a user