summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorphroggie <phroggster@gmail.com>2016-09-27 07:32:08 -0500
committerjim-p <jimp@pfsense.org>2016-10-07 15:05:51 -0400
commit9b9065d17272660ad31f966c566eb2942f018a33 (patch)
treecbd6f025d6a037853074c9374c4915d6b52ee9ee
parentb65bfb624655a0a19ee70d5d4afde22f95a7c7ff (diff)
downloadpfsense-9b9065d17272660ad31f966c566eb2942f018a33.zip
pfsense-9b9065d17272660ad31f966c566eb2942f018a33.tar.gz
Fix static blackhole routes. Bug was introduced in
8be135cd114fbc9294ec9dafed2125d0e553956c (February, 2013). (cherry picked from commit 580bef1ee3052437487553fcc5dc8428ca665098)
-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