Revision e1776d71
Added by Leland Roach over 8 years ago
src/etc/inc/system.inc | ||
---|---|---|
687 | 687 |
$interfacegw = $gateway['interface']; |
688 | 688 |
|
689 | 689 |
$blackhole = ""; |
690 |
if (!strcasecmp("Null", substr($rtent['gateway'], 0, 3))) {
|
|
690 |
if (!strcasecmp("Null", substr($rtent['gateway'], 0, 4))) {
|
|
691 | 691 |
$blackhole = "-blackhole"; |
692 | 692 |
} |
693 | 693 |
|
Also available in: Unified diff
Fix static blackhole routes. Bug was introduced in
8be135cd114fbc9294ec9dafed2125d0e553956c (February, 2013).
(cherry picked from commit 580bef1ee3052437487553fcc5dc8428ca665098)