From 0cd7141da9eec4d1cbb6a1b6e980cfa28cdfdd8e Mon Sep 17 00:00:00 2001 From: Alexander Marx Date: Thu, 23 Jan 2014 16:45:46 +0100 Subject: [PATCH] wlanap: mon-device no longer displayed --- html/cgi-bin/wlanap.cgi | 1 + langs/en/cgi-bin/en.pl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/html/cgi-bin/wlanap.cgi b/html/cgi-bin/wlanap.cgi index e18afd6022..79bd0251bb 100644 --- a/html/cgi-bin/wlanap.cgi +++ b/html/cgi-bin/wlanap.cgi @@ -521,6 +521,7 @@ if ($status){ $count++; } for (my $i=0;$i<$#txpower_cmd;$i=$i+4){ + next if (@txpower_cmd[$i] =~ /mon/i); if ($count % 2){ $col="bgcolor='$color{'color20'}'"; }else{ diff --git a/langs/en/cgi-bin/en.pl b/langs/en/cgi-bin/en.pl index 06fa9c7844..ce36fb3570 100644 --- a/langs/en/cgi-bin/en.pl +++ b/langs/en/cgi-bin/en.pl @@ -985,7 +985,7 @@ 'fwdfw from' => 'From:', 'fwdfw hint ip1' => 'The last generated rule may never match, because source and destination subnets may overlap.', 'fwdfw hint ip2' => 'Please double-check if this rule makes sense: ', -'fwdfw hint mac' => 'The targetgroup contains MAC addresses which will be skipped during rulecreation.', +'fwdfw hint mac' => 'The destination group contains MAC addresses, which will be skipped during rule creation.', 'fwdfw iface' => 'Interface', 'fwdfw ipsec network' => 'IPsec networks:', 'fwdfw log' => 'Log', -- 2.39.2