]> git.ipfire.org Git - ipfire-2.x.git/commit
ovpnmain.cgi: Fixes bug#13548 - imported N2N client connections get disabled instead...
authorAdolf Belka <adolf.belka@ipfire.org>
Thu, 22 Feb 2024 12:43:38 +0000 (13:43 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 3 Mar 2024 10:08:29 +0000 (10:08 +0000)
commit4a0648243b991b00130aca4fcc615e717ddb1003
treec1b83a2366bc517f651235e90205ef10086ca37b
parent6ea7d8c67e0ea53188d6dc356b9cdbc5bf7b5d97
ovpnmain.cgi: Fixes bug#13548 - imported N2N client connections get disabled instead of no-pass

- When bug#11408 was fixed it was missed that key 41 has disabled inserted into it when
   uploading into the N2N client. This replaced the no-pass entry for all N2N connections
   resulting in the ovpnmain.cgi not being able to show the status correctly as the code
   looks for pass or no-pass.
- The disabled entry has been present for a very long time and is not utilised anywhere
   in the code.
- This fix ensures that key 41 in the uploaded N2N connection has no-pass entered
- Tested out and confirmed in my vm testbed.

Fixes: Bug#13548
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/cgi-bin/ovpnmain.cgi