mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 09:34:39 +00:00
(filter.inc) cleanup
This commit is contained in:
parent
1684635cfc
commit
0d169fc480
@ -1516,10 +1516,6 @@ function filter_nat_rules_generate_if(&$FilterIflist, $if, $src = "any", $srcpor
|
||||
{
|
||||
global $config;
|
||||
|
||||
/* XXX: billm - any idea if this code is needed? */
|
||||
if ($src == "/32" || $src{0} == "/") {
|
||||
return "# src incorrectly specified\n";
|
||||
}
|
||||
if ($natip != "") {
|
||||
if (is_subnet($natip)) {
|
||||
$tgt = $natip;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user