mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 00:54:41 +00:00
(legacy) regression firewall_nat_out_edit.php
This commit is contained in:
parent
16ed1470d2
commit
ddcc2c85c4
@ -249,7 +249,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
|
||||
|
||||
// handle fields containing portnumbers
|
||||
if (in_array($pconfig['protocol'], explode(" ", "any tcp udp tcp/udp"))) {
|
||||
if (isset($pconfig['staticnatport']) && !empty($pconfig['nonat'])) {
|
||||
if (isset($pconfig['staticnatport']) && empty($pconfig['nonat'])) {
|
||||
$natent['staticnatport'] = true;
|
||||
}
|
||||
$natent['sourceport'] = trim($pconfig['sourceport']);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user