firewall/outbound nat, fix typo

This commit is contained in:
Ad Schellevis 2018-01-30 18:01:01 +01:00
parent a353b74b63
commit ecd2aff386

View File

@ -226,7 +226,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
// a bit vague behaviour in "target" and "targetip", if a custom net is given
// the backend code wants target to be filled with "other-subnet".
// if any other known net is given, target is used to provide the actual address....
// -- can't remove this behaviour now without breaking old confid, so let's reimplement
// -- can't remove this behaviour now without breaking old config, so let's reimplement
$natent['target'] = 'other-subnet';
$natent['targetip'] = trim($pconfig['targetip']);
$natent['targetip_subnet'] = $pconfig['targetip_subnet'];