mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-02-16 20:07:23 +00:00
base-files: ipcalc.sh: make check slightly more future-proof
The previous code handling the equal-condition might be removed or altered in the future and the case might be overlooked. Signed-off-by: Leon M. Busch-George <leon@georgemail.eu>
This commit is contained in:
parent
270f694f11
commit
25aab738ef
@ -89,7 +89,7 @@ BEGIN {
|
||||
exit(1)
|
||||
}
|
||||
|
||||
if (ipaddr > start && ipaddr < end) {
|
||||
if (ipaddr >= start && ipaddr <= end) {
|
||||
print "warning: ipaddr inside range - this might not be supported in future releases of Openwrt" > "/dev/stderr"
|
||||
# turn this into an error after Openwrt 24 has been released
|
||||
# exit(1)
|
||||
|
Loading…
Reference in New Issue
Block a user