mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
This change will add a slash where mixed security protocols are used.
This commit is contained in:
@@ -1031,7 +1031,12 @@ Singleton {
|
||||
continue;
|
||||
}
|
||||
|
||||
const security = remainingLine2.substring(thirdLastColonIdx + 1);
|
||||
let security = remainingLine2.substring(thirdLastColonIdx + 1);
|
||||
// This change will add a slash where mixed security protocols are used.
|
||||
if (security) {
|
||||
security = security.replace("WPA2 WPA3", "WPA2/WPA3").replace("WPA1 WPA2", "WPA1/WPA2");
|
||||
}
|
||||
|
||||
const ssid = remainingLine2.substring(0, thirdLastColonIdx);
|
||||
|
||||
if (ssid) {
|
||||
|
||||
Reference in New Issue
Block a user