Fix static blackhole routes. Bug was introduced in

8be135cd11 (February, 2013).
This commit is contained in:
phroggie 2016-09-27 07:32:08 -05:00
parent ba868cff51
commit 580bef1ee3

View File

@ -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";
}