Firewall / NAT / Portforward - explicit default for Filter rule association , closes https://github.com/opnsense/core/issues/5019

This commit is contained in:
Ad Schellevis 2021-05-28 19:12:38 +02:00
parent d24b2e7e4a
commit 11f3de0972

View File

@ -55,6 +55,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
$pconfig['dstbeginport'] = 80 ;
$pconfig['dstendport'] = 80 ;
$pconfig['local-port'] = 80;
$pconfig['associated-rule-id'] = true;
if (isset($configId)) {
// copy 1-on-1
foreach (array('protocol','target','local-port','descr','interface','associated-rule-id','nosync','log',