Bug #11407
Updated by Jim Pingle over 4 years ago
If there are three WireGuard tunnels (wg0, wg1, wg2) and the middle tunnel (wg1) is removed, the add button links to @vpn_wg_edit.php?index=1@ since it's trying to incorrectly treat the WireGuard interface number as an array index, which is no longer true. When the user clicks the Add button, it edits the second instance (array index 1) which is now wg2, and does not create a new entry. Similar to #11323 As a workaround, the user can manually change the URL to remove the index correct number (e.g. go right to @vpn_wg_edit.php@ with no parameters) (in this example @2@ is the next available array index) To me, I'm working up a fix.