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
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ BEGIN {
|
||||||
exit(1)
|
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"
|
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
|
# turn this into an error after Openwrt 24 has been released
|
||||||
# exit(1)
|
# exit(1)
|
||||||
|
|
Loading…
Reference in a new issue