diff --git a/src/etc/inc/system.inc b/src/etc/inc/system.inc index 0914c19bbe..74745a028d 100644 --- a/src/etc/inc/system.inc +++ b/src/etc/inc/system.inc @@ -655,7 +655,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"; }