From: Arne Fitzenreiter Date: Wed, 21 Jan 2015 13:20:54 +0000 (+0100) Subject: wlanap.cgi: remove trailing 0 from channellist. X-Git-Tag: v2.17-core87~41^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=12f74b8f919f264e24778c9d31dc74cd90a82cda;p=ipfire-2.x.git wlanap.cgi: remove trailing 0 from channellist. --- diff --git a/html/cgi-bin/wlanap.cgi b/html/cgi-bin/wlanap.cgi index c78a3c4ff6..ec9022ddfa 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 c381a0a81f..d066db2567 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 = ""