mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Make sure we tell the code that the interface exists otherwise multiple laggs might get created.
This commit is contained in:
parent
ee487a6844
commit
4f4e85dfb8
@ -93,6 +93,8 @@ if ($_POST) {
|
||||
$lagg['descr'] = $_POST['descr'];
|
||||
$lagg['laggif'] = $_POST['laggif'];
|
||||
$lagg['proto'] = $_POST['proto'];
|
||||
if (isset($id) && $a_laggs[$id])
|
||||
$lagg['laggif'] = $a_laggs[$id]['laggif'];
|
||||
|
||||
$lagg['laggif'] = interface_lagg_configure($lagg);
|
||||
if ($lagg['laggif'] == "" || !stristr($lagg['laggif'], "lagg"))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user