dnsmasq: Invoke new ipcalc with CIDR notation
authorPhilip Prindeville <philipp@redfish-solutions.com>
Sun, 5 Nov 2023 19:23:29 +0000 (12:23 -0700)
committerKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Wed, 15 Nov 2023 20:36:35 +0000 (20:36 +0000)
commitaf64898c2617babcf27ba2ae8c07dc801c208964
tree8860c72ef4aedf5b720e9fe89f78a18aa509218e
parent6647e6d219d6ac460b04ff6b73931a4ae521df3c
dnsmasq: Invoke new ipcalc with CIDR notation

The new rewritten ipcalc.sh understands 3 notations:

ipaddr/prefix ...
ipaddr/dotted-netmask ...
ipaddr dotted-netmask ...

meaning that the previous 4th non-standard notation of "ipaddr prefix"
will be dropped, alas that's the notation that dnsmasq currently uses.

This change has us using the first notation which is the most common.

This behavior came in as
https://github.com/openwrt/openwrt/commit/eda27e8382f3e5253defab5419e95d4b51f72de3
a long time ago.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
package/network/services/dnsmasq/Makefile
package/network/services/dnsmasq/files/dnsmasq.init