diff options
author | phroggie <phroggster@gmail.com> | 2016-09-27 07:32:08 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2016-10-07 15:05:51 -0400 |
commit | 9b9065d17272660ad31f966c566eb2942f018a33 (patch) | |
tree | cbd6f025d6a037853074c9374c4915d6b52ee9ee | |
parent | b65bfb624655a0a19ee70d5d4afde22f95a7c7ff (diff) | |
download | pfsense-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.inc | 2 |
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"; } |