Firewall: NAT: Destination NAT - fix "Warning: Undefined variable $port in .."

This commit is contained in:
Ad Schellevis
2026-10-07 14:52:23 +02:00
parent 2cf8272b54
commit 86cae77e4e
@@ -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?");
}
}
}