summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/etc/inc/system.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/inc/system.inc b/src/etc/inc/system.inc
index da1bb2a..1b87d68 100644
--- a/src/etc/inc/system.inc
+++ b/src/etc/inc/system.inc
@@ -683,7 +683,7 @@ function system_staticroutes_configure($interface = "", $update_dns = false) {
$interfacegw = $gateway['interface'];
$blackhole = "";
- if (!strcasecmp("Null", substr($rtent['gateway'], 0, 3))) {
+ if (!strcasecmp("Null", substr($rtent['gateway'], 0, 4))) {
$blackhole = "-blackhole";
}
OpenPOWER on IntegriCloud