Re: [Dnsmasq-discuss] [PATCH 2/2] rev-server: reject CIDR prefixes that are not /8 /16 /24 or /32 for IPv4

2017-03-06 Thread Simon Kelley
Both patches applied. Cheers, Simon. On 05/03/17 10:13, Olivier Gayot wrote: > The rev-server directive only handles the following CIDR prefixes > properly: /8, /16, /24, /32. > > Any other value was silently converted to /16 which could result in > unexpected behaviour. > > This patch

[Dnsmasq-discuss] [PATCH 2/2] rev-server: reject CIDR prefixes that are not /8 /16 /24 or /32 for IPv4

2017-03-05 Thread Olivier Gayot
The rev-server directive only handles the following CIDR prefixes properly: /8, /16, /24, /32. Any other value was silently converted to /16 which could result in unexpected behaviour. This patch rejects any other value instead of making a silent conversion. Signed-off-by: Olivier Gayot