mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Fix static blackhole routes. Bug was introduced in
8be135cd11 (February, 2013).
This commit is contained in:
parent
ba868cff51
commit
580bef1ee3
@ -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";
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user