]> git.ipfire.org Git - people/dweismueller/ipfire-2.x.git/commitdiff
wlanap.cgi: remove trailing 0 from channellist.
authorArne Fitzenreiter <arne_f@ipfire.org>
Wed, 21 Jan 2015 13:20:54 +0000 (14:20 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Wed, 21 Jan 2015 13:20:54 +0000 (14:20 +0100)
html/cgi-bin/wlanap.cgi
lfs/hostapd

index c78a3c4ff697b4cf91e82f1bab1a42d64f117443..ec9022ddfad8305013f9efd1200818726c33bbf2 100644 (file)
@@ -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;
 }
index c381a0a81fcb70fcfc80c7fada5cdd14421f2202..d066db25671908cb50e4092151c00f9231fba793 100644 (file)
@@ -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       = ""