mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
interface -> interfaces
This commit is contained in:
parent
54dce66fc9
commit
3decfc1115
@ -96,7 +96,8 @@ if (isset($_POST['save'])) {
|
||||
$ifdescrs[] = "opt" . $j;
|
||||
foreach($ifdescrs as $if) {
|
||||
$natent = array();
|
||||
$osn = convert_ip_to_network_format($config['interface'][$if]['ipaddr'], $config['interface'][$if]['subnet']);
|
||||
$osn = convert_ip_to_network_format($config['interfaces'][$if]['ipaddr'],
|
||||
$config['interfaces'][$if]['subnet']);
|
||||
$natent['source']['network'] = $osn;
|
||||
$natent['sourceport'] = "";
|
||||
$natent['descr'] = "Auto created rule for {$if}";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user