Bug #11552
closedIncorrect phase 2 entry removed when deleting multiple items consecutively
100%
Description
I had a phase1 entry with 6 phase2 entries. 3 of the phase2 entries were for tunnels to LAN and the other 3 were for tunnels to OPT1.
We no longer required the tunnels to OPT1 so I went to delete them by going to VPN - IPSec + Show Pase 2 Entries.
The P2 entries were listed as follows:
Mode Local Subnet Remote Subnet
tunnel LAN 10.0.0.0/24
tunnel OPT1 10.0.0.0/24
tunnel LAN 10.0.1.0/24
tunnel OPT1 10.0.1.0/24
tunnel LAN 10.0.2.0/24
tunnel OPT1 10.0.2.0/24
I clicked on the delete button for the first OPT1 and clicked OK to the confirmation. The screen reloads with the first OPT1 now missing as you would expect.
Mode Local Subnet Remote Subnet
tunnel LAN 10.0.0.0/24
tunnel LAN 10.0.1.0/24
tunnel OPT1 10.0.1.0/24
tunnel LAN 10.0.2.0/24
tunnel OPT1 10.0.2.0/24
I then clicked on the delete button for the next OPT1 and click OK to the confirmation. The screen reloads with one of the LAN P2s missing.
Mode Local Subnet Remote Subnet
tunnel LAN 10.0.0.0/24
tunnel OPT1 10.0.1.0/24
tunnel LAN 10.0.2.0/24
tunnel OPT1 10.0.2.0/24
I have tested on 2.4.5-p1 and 2.5.0, both are affected.