mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
wlanap.cgi: Use the correct array to fetch the current interface
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
committed by
Arne Fitzenreiter
parent
3c904d268b
commit
3638d37c0d
@@ -61,7 +61,7 @@ my %cgiparams = ();
|
||||
&Header::getcgihash(\%cgiparams);
|
||||
|
||||
# Find the selected interface
|
||||
my $INTF = &Network::get_intf_by_address($cgiparams{'INTERFACE'});
|
||||
my $INTF = &Network::get_intf_by_address($wlanapsettings{'INTERFACE'});
|
||||
|
||||
delete $wlanapsettings{'__CGI__'};
|
||||
delete $wlanapsettings{'x'};
|
||||
@@ -376,7 +376,6 @@ END
|
||||
&Header::closebox();
|
||||
|
||||
if ($INTF) {
|
||||
|
||||
&Header::opensection();
|
||||
|
||||
my @status = `iw dev $INTF info`;
|
||||
|
||||
Reference in New Issue
Block a user