mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
pppsetup.cgi: Fix typos.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
committed by
Michael Tremer
parent
556edb5adc
commit
8f73d902e3
@@ -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 = <FILE>
|
||||
open(FILE, "${General::swroot}/ddns/config");
|
||||
my @ddns_config = <FILE>;
|
||||
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 = <PROC>;
|
||||
my @atm_devices = <PROC>;
|
||||
close(PROC);
|
||||
|
||||
my $atmdev = grep(/0/, @atm_devices);
|
||||
|
||||
Reference in New Issue
Block a user