Bug #14409 » pfblockerng.inc.patch
| /usr/local/pkg/pfblockerng/pfblockerng.inc | ||
|---|---|---|
|
}
|
||
|
// Update config.xml, if changes required
|
||
|
if ($pfbupdate) {
|
||
|
if ($pfbupdate && $pfb['dnsbl'] == 'on') {
|
||
|
config_set_path('nat/rule', $new_nat);
|
||
|
config_set_path('virtualip/vip', $new_vip);
|
||
|
write_config('pfBlockerNG: saving DNSBL changes');
|
||
|
config_set_path('virtualip/vip', $new_vip);
|
||
|
write_config('pfBlockerNG: saving DNSBL changes');
|
||
|
}
|
||
|
if ($mode == 'enabled' && $pfbupdate) {
|
||