From: Leon M. Busch-George Date: Sun, 20 Aug 2023 19:08:20 +0000 (+0200) Subject: package: base-files: turn error into warning X-Git-Tag: v23.05.0-rc4~28 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=refs%2Fpull%2F13158%2Fhead;p=thirdparty%2Fopenwrt.git package: base-files: turn error into warning Some users have their routers configured to supply a DHCP range that includes the local interface address. That worked with dnsmasq because it automatically skips the local address. Re-enable those existing configurations for the release and hint at possible future problems. Signed-off-by: Leon M. Busch-George [ wrap commit description and remove unecessary text ] Signed-off-by: Christian Marangi --- diff --git a/package/base-files/files/bin/ipcalc.sh b/package/base-files/files/bin/ipcalc.sh index 56854b41041..6e72617e1b2 100755 --- a/package/base-files/files/bin/ipcalc.sh +++ b/package/base-files/files/bin/ipcalc.sh @@ -80,8 +80,7 @@ BEGIN { } if (ipaddr > start && ipaddr < end) { - print "ipaddr inside range" > "/dev/stderr" - exit(1) + print "warning: ipaddr inside range - this might not be supported in future releases of Openwrt" > "/dev/stderr" } print "START="int2ip(start)