mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Allow duplication of system gateways for easier adding and less typing.
This commit is contained in:
parent
e93949e50d
commit
c3b347f199
@ -56,7 +56,9 @@ if (isset($id) && $a_gateways[$id]) {
|
||||
$pconfig['defaultgw'] = $a_gateways[$id]['defaultgw'];
|
||||
$pconfig['monitor'] = $a_gateways[$id]['monitor'];
|
||||
$pconfig['descr'] = $a_gateways[$id]['descr'];
|
||||
$pconfig['attribute'] = $a_gateways[$id]['attribute'];
|
||||
if (!isset($_GET['dup'])) {
|
||||
$pconfig['attribute'] = $a_gateways[$id]['attribute'];
|
||||
}
|
||||
}
|
||||
|
||||
if (isset($_GET['dup']))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user