mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-02 03:56:49 +00:00
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>
This commit is contained in:
parent
829196e1b1
commit
83bf45ea5c
@ -80,8 +80,7 @@ BEGIN {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (ipaddr > start && ipaddr < end) {
|
if (ipaddr > start && ipaddr < end) {
|
||||||
print "ipaddr inside range" > "/dev/stderr"
|
print "warning: ipaddr inside range - this might not be supported in future releases of Openwrt" > "/dev/stderr"
|
||||||
exit(1)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
print "START="int2ip(start)
|
print "START="int2ip(start)
|
||||||
|
Loading…
Reference in New Issue
Block a user