diff --git a/html/cgi-bin/wlanap.cgi b/html/cgi-bin/wlanap.cgi index c78a3c4ff..ec9022ddf 100644 --- a/html/cgi-bin/wlanap.cgi +++ b/html/cgi-bin/wlanap.cgi @@ -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; } diff --git a/lfs/hostapd b/lfs/hostapd index c381a0a81..d066db256 100644 --- a/lfs/hostapd +++ b/lfs/hostapd @@ -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 = ""