diff options
author | Leon M. Busch-George <leon@georgemail.eu> | 2023-08-20 21:08:20 +0200 |
---|---|---|
committer | Christian Marangi <ansuelsmth@gmail.com> | 2023-09-19 15:38:59 +0200 |
commit | 83bf45ea5cacabc2ec7060be6ab5115b871a7c21 (patch) | |
tree | c0affc148620184f25b8392d29e4386376e48bd1 /package/base-files/files | |
parent | 829196e1b16bf20062d1d839ad38042290bb016c (diff) | |
download | upstream-83bf45ea5cacabc2ec7060be6ab5115b871a7c21.tar.gz upstream-83bf45ea5cacabc2ec7060be6ab5115b871a7c21.tar.bz2 upstream-83bf45ea5cacabc2ec7060be6ab5115b871a7c21.zip |
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 <leon@georgemail.eu>
[ wrap commit description and remove unecessary text ]
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Diffstat (limited to 'package/base-files/files')
-rwxr-xr-x | package/base-files/files/bin/ipcalc.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/package/base-files/files/bin/ipcalc.sh b/package/base-files/files/bin/ipcalc.sh index 56854b4104..6e72617e1b 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) |