From patchwork Mon Jun 21 12:44:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Schantl X-Patchwork-Id: 4450 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) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4G7q4Q6KN8z3wbS for ; Mon, 21 Jun 2021 12:45:10 +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) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4G7q4N4WRVzp; Mon, 21 Jun 2021 12:45:08 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4G7q4N1Qd9z2xxv; Mon, 21 Jun 2021 12:45:08 +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) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4G7q4L657pz2xKp for ; Mon, 21 Jun 2021 12:45:06 +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 4G7q4K5CwTzp; Mon, 21 Jun 2021 12:45:05 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1624279506; 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=ityONMix2j+e2kFIJKend90LzayMT48mXfPW/bjpcRw=; b=0ttYoBA2JLPUYyNUrIuB3ZGgjEiaQKI4q8U1MBOzZoZ3y++0SNCr7HXssd/IqoaZXpLiBY 3jePICPWeHNkqWCw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1624279506; 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=ityONMix2j+e2kFIJKend90LzayMT48mXfPW/bjpcRw=; b=lH30HLgWNaFo6dkEthGMI4hK5LolTwiA1Drwu5fyd2CKj7GKAFpKvcJ5E7nl1T/lyn7/G6 B6z7f6dBpK8f/pm8nsd241VV5S8cnsLJNieLYo1Rp8phi2Mc4lFmDZ7V+CyaSLNKIGUPK1 sF+DL9Rr/ziRIae2b3SM0iYVtwyY6nz7fbTxqTjvd6XoMe00Axk9pNiwBlxeoKN4R8xD6b 85XEQf6/5avlh6mfk2AB2kHpiLcwIXdc0/hITG8c/mNrA3QvuhFMMmNgMfX6VV5qBKEViA K2676+FD+FA4nkym3wsuQQ2fu1lZIkr3GoMCdMNPSfihNLiLRcypsYnf79BV7Q== From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH 1/3] pppsetup.cgi: Fix typos. Date: Mon, 21 Jun 2021 14:44:57 +0200 Message-Id: <20210621124459.3620-1-stefan.schantl@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" Signed-off-by: Stefan Schantl --- html/cgi-bin/pppsetup.cgi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/html/cgi-bin/pppsetup.cgi b/html/cgi-bin/pppsetup.cgi index 519a062bc..beb7fabc7 100644 --- a/html/cgi-bin/pppsetup.cgi +++ b/html/cgi-bin/pppsetup.cgi @@ -180,8 +180,8 @@ elsif ($pppsettings{'ACTION'} eq $Lang::tr{'save'}) goto ERROR; } # Read-in ddns config file, to check if at least one provider is enabled. - open(FILE, "${General::swroot}/ddns/config)"; - my @ddns_config = + open(FILE, "${General::swroot}/ddns/config"); + my @ddns_config = ; close(FILE); if( $pppsettings{'RECONNECTION'} eq 'dialondemand' && grep(/on/, @ddns_config) ) { @@ -529,7 +529,7 @@ END # Read-in atm devices from proc. open(PROC, "/proc/net/atm/devices"); -my @patm_devices = ; +my @atm_devices = ; close(PROC); my $atmdev = grep(/0/, @atm_devices);