mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
wlanap.cgi: remove trailing 0 from channellist.
This commit is contained in:
@@ -272,7 +272,7 @@ my @temp;
|
||||
foreach (@channellist_cmd){
|
||||
$_ =~ /(.*) \[(\d+)(.*)\]/;
|
||||
$channel = $2;chomp $channel;
|
||||
if ( $channel =~ /\d+/ ){push(@temp,$channel);}
|
||||
if ( $channel =~ /\d+/ ){push(@temp,$channel + 0);}
|
||||
}
|
||||
@channellist = @temp;
|
||||
} else {
|
||||
@@ -283,7 +283,7 @@ my @temp;
|
||||
foreach (@channellist_cmd){
|
||||
$_ =~ /(.*)Channel (\d+)(.*):/;
|
||||
$channel = $2;chomp $channel;
|
||||
if ( $channel =~ /\d+/ ){push(@temp,$channel);}
|
||||
if ( $channel =~ /\d+/ ){push(@temp,$channel + 0);}
|
||||
}
|
||||
@channellist = @temp;
|
||||
}
|
||||
|
||||
@@ -32,7 +32,7 @@ DL_FROM = $(URL_IPFIRE)
|
||||
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
||||
TARGET = $(DIR_INFO)/$(THISAPP)
|
||||
PROG = hostapd
|
||||
PAK_VER = 31
|
||||
PAK_VER = 32
|
||||
|
||||
DEPS = ""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user