mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Add curly braces to fix code logic. See http://forum.pfsense.org/index.php/topic,40953.msg215068.html#msg215068
This commit is contained in:
parent
05ff388ab7
commit
b8f855afda
@ -2331,9 +2331,10 @@ EOD;
|
||||
/* http://www.cymru.com/Documents/bogon-bn-nonagg.txt */
|
||||
/* file is automatically in cron every 3000 minutes */
|
||||
if(isset($config['interfaces'][$on]['blockbogons'])) {
|
||||
if($bogontableinstalled == 0)
|
||||
if($bogontableinstalled == 0) {
|
||||
$ipfrules .= "table <bogons> persist file \"/etc/bogons\"\n";
|
||||
$ipfrules .= "table <bogonsv6> persist file \"/etc/bogonsv6\"\n";
|
||||
}
|
||||
$ipfrules .= <<<EOD
|
||||
# block bogon networks
|
||||
# http://www.cymru.com/Documents/bogon-bn-nonagg.txt
|
||||
|
||||
Loading…
Reference in New Issue
Block a user