mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-20 03:16:12 +00:00
Interfaces - migrate existing ppp settings on save, closes https://github.com/opnsense/core/issues/6121
This commit is contained in:
parent
c71af0d420
commit
0ae0c2fc93
@ -1001,7 +1001,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
|
||||
$old_config['realif'] = get_real_interface($if);
|
||||
$old_config['realifv6'] = get_real_interface($if, "inet6");
|
||||
$new_config = array();
|
||||
$new_ppp_config = array();
|
||||
$new_ppp_config = !empty($a_ppps[$pppid]) ? $a_ppps[$pppid] : [];
|
||||
|
||||
// copy physical interface data (wireless is a strange case, partly managed via interface_sync_wireless_clones)
|
||||
$new_config['if'] = $old_config['if'];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user