From 8f73d902e34466ca85023e2cddaad68ea2cb91f5 Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Mon, 21 Jun 2021 14:44:57 +0200 Subject: [PATCH] pppsetup.cgi: Fix typos. Signed-off-by: Stefan Schantl Signed-off-by: Michael Tremer --- 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 519a062bc5..beb7fabc7d 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); -- 2.39.2