#17152: dnsmasq init script: inconsistent call to ipcalc.sh
-------------------------------+---------------------------------------
Reporter: lahwaacz | Owner: developers
Type: defect | Status: new
Priority: high | Milestone: Attitude Adjustment 12.09
Component: packages | Version: Trunk
Keywords: dnsmasq ipcalc.sh |
-------------------------------+---------------------------------------
The call to `ipcalc.sh` on
[https://dev.openwrt.org/browser/trunk/package/network/services/dnsmasq/files/dnsmasq.init#L409
this line] seems inconsistent: with my near default config, it is
equivalent to the following:
{{{
$ ipcalc.sh 10.0.0.1 24 10 100
IP=10.0.0.1
NETMASK=0.0.0.24
BROADCAST=255.255.255.231
NETWORK=0.0.0.0
PREFIX=2
START=0.0.0.2
END=0.0.0.102
}}}
Then obviously the DHCP server misbehaves, trying to assign from
`0.0.0.2-0.0.0.102` range instead of `10.0.0.10-10.0.0.110`.
--
Ticket URL: <https://dev.openwrt.org/ticket/17152>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets