mirror of
https://github.com/opnsense/core.git
synced 2026-10-12 02:20:36 +00:00
Firewall: NAT: Destination NAT - fix "Warning: Undefined variable $port in .."
This commit is contained in:
@@ -148,7 +148,7 @@ class ForwardRule extends Rule
|
||||
$tmp['local-port'] = array_shift($known);
|
||||
} else {
|
||||
$rule['disabled'] = true;
|
||||
$this->log("Unable to map port {$port}, config error?");
|
||||
$this->log("Unable to map port {$tmp['local-port']}, config error?");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user