From patchwork Thu Feb 11 12:41:29 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 3888 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature RSA-PSS (4096 bits)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4DbxH72ckMz3wps for ; Thu, 11 Feb 2021 12:47:31 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4DbxH56dT1zB4; Thu, 11 Feb 2021 12:47:29 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4Dbx8D6Y8Zz2yrS; Thu, 11 Feb 2021 12:41:32 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature RSA-PSS (4096 bits)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4Dbx8D0QRZz2xSc for ; Thu, 11 Feb 2021 12:41:32 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4Dbx8C2qlMzlh; Thu, 11 Feb 2021 12:41:31 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1613047291; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=4OrpGOM+NhoSTjIewFfVSv67zhvdQBvM0/XHGBw9q0o=; b=Qz2wehsa70VZv7JS9aDQqIs+Xi3FxJmDQfzIcy2s1m4oXbsTuB/2ENLdMmmgbACSq00FsN tIuiTZfDnoVnIrDw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1613047291; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=4OrpGOM+NhoSTjIewFfVSv67zhvdQBvM0/XHGBw9q0o=; b=MY5fo6L9KZpxduaAlylqe7T/6u50Zf5OnPatVhTfRaYIb/Vfq1nwnwwVtHSN7uEBTnQWS7 Sv878b4YvzDMeVgnG0F5lReYGXBUZ/zhvcJ9VoV8GvQOMFeLY3BNsf+q//JwXSA9UMNejy l+XultO3ZErf3vv2SyFz4rNJc5UM9MpF3Xb/HIRh6m3wTq4LNGPdaOLv2Sx1UFVWmg6Jcs /L39cDYQl9qmRp5nzTDgXLFSjZgZXXrunT630EsOZNCnt5xWwGLKbDdJXiBDRxUmSKsgC8 bhgCaGokUXdTBfSw2CknIijF/3f7ovd/PhHxXcgcyq5Sw1jvM1l3SgKtHjLDrw== From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH] wirelessclient.cgi: Fix for bug #12571 Date: Thu, 11 Feb 2021 13:41:29 +0100 Message-Id: <20210211124129.3661993-1-adolf.belka@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" - Wirelessclient shows priority 0 to be most preferred and priority 4 as least preferred. Based on forum posters experience and the wpa_supplicant man page it is the other way round. - This patch moves the least preferred title to priority 0 and vice versa - Will ask bug reporter to test out the patch and confirm it works. The page is only shown if you have a wifi connection on red. Signed-off-by: Adolf Belka --- html/cgi-bin/wirelessclient.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/html/cgi-bin/wirelessclient.cgi b/html/cgi-bin/wirelessclient.cgi index e8c3c9628..b1679c128 100644 --- a/html/cgi-bin/wirelessclient.cgi +++ b/html/cgi-bin/wirelessclient.cgi @@ -602,11 +602,11 @@ sub showEditBox() {