summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsrc/etc/rc.newwanip2
-rwxr-xr-xsrc/etc/rc.newwanipv62
2 files changed, 2 insertions, 2 deletions
diff --git a/src/etc/rc.newwanip b/src/etc/rc.newwanip
index 05eb960..6946918 100755
--- a/src/etc/rc.newwanip
+++ b/src/etc/rc.newwanip
@@ -190,7 +190,7 @@ if (!empty($gre)) {
}
}
-if (platform_booting) {
+if (platform_booting()) {
// avoid race conditions in many of the below functions that occur during boot
// setting up gateways monitor doesn't seem to have issues here, and fixes the
// most commonly encountered bugs from earlier versions when everything below
diff --git a/src/etc/rc.newwanipv6 b/src/etc/rc.newwanipv6
index 160ed441..d8be18e 100755
--- a/src/etc/rc.newwanipv6
+++ b/src/etc/rc.newwanipv6
@@ -145,7 +145,7 @@ system_routing_configure($interface);
/* reconfigure our gateway monitor */
setup_gateways_monitor();
-if (platform_booting) {
+if (platform_booting()) {
// avoid race conditions in many of the below functions that occur during boot
// setting up gateways monitor doesn't seem to have issues here, and fixes the
// most commonly encountered bugs from earlier versions when everything below
OpenPOWER on IntegriCloud