Add support for arbitrary prefix lengths in --rev-server and --domain=....,local
authorSimon Kelley <simon@thekelleys.org.uk>
Sun, 19 Sep 2021 23:05:42 +0000 (00:05 +0100)
committerSimon Kelley <simon@thekelleys.org.uk>
Sun, 19 Sep 2021 23:05:42 +0000 (00:05 +0100)
commit35f93081dc9a52e64ac3b7196ad1f5c1106f8932
tree3dfa0ecc2e1edf4943dc0d19edc748041eb9ec63
parentde372d6914ae20a1f9997815f258efbf3b14c39b
Add support for arbitrary prefix lengths in --rev-server and --domain=....,local

Previously, the prefix was limited to [8,16,24,32] for IPv4 and
to multiples of 4 for IPv6. This patch also makes the prefix-length optional
for --rev-server.

Inspired by a patch from DL6ER <dl6er@dl6er.de>, but completely
re-written by srk. All bugs are his.
man/dnsmasq.8
src/network.c
src/option.c