]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
wirelessclient.cgi: Show when actually connected using WPA3
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 16 Feb 2021 16:37:07 +0000 (17:37 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 16 Feb 2021 16:37:07 +0000 (17:37 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/cgi-bin/wirelessclient.cgi

index 607ef71053b5aba335a024f8ee6c26b1b1628e15..fc64bcb2ece012b2945aebf62f6a997c61ef4da5 100644 (file)
@@ -738,12 +738,25 @@ END
                }
 
                if (($status{'pairwise_cipher'} ne "NONE") || ($status{'group_cipher'} ne "NONE")) {
-                       print <<END;
+                       if ($status{'key_mgmt'} eq "SAE") {
+                               print <<END;
+                               <tr>
+                                       <td colspan='2'>
+                                               <strong>$Lang::tr{'wlan client encryption wpa3'}</strong>
+                                       </td>
+                               </tr>
+END
+                       } else {
+                               print <<END;
                                <tr>
                                        <td colspan='2'>
                                                <strong>$Lang::tr{'wlan client encryption wpa'}</strong>
                                        </td>
                                </tr>
+END
+                       }
+
+                       print <<END;
                                <tr>
                                        <td width='20%'>
                                                $Lang::tr{'wlan client pairwise cipher'}