Revision b9115c26
Added by Ermal Luçi over 10 years ago
etc/inc/filter.inc | ||
---|---|---|
2374 | 2374 |
$src = " {$not} {$expsrc}"; |
2375 | 2375 |
} |
2376 | 2376 |
|
2377 |
if (empty($src)) |
|
2378 |
return ''; |
|
2379 |
|
|
2377 | 2380 |
$src .= filter_generate_port($rule, $target, $isnat); |
2378 | 2381 |
|
2379 | 2382 |
return $src; |
Also available in: Unified diff
Prevent empty addresses for being put in the ruleset. Ticket #4564