summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@ffgraz.net>2013-11-19 01:43:49 +0000
committerChristian Pointner <equinox@ffgraz.net>2013-11-19 01:43:49 +0000
commit24bfd8c1ee8cd2cf3d87fdaf850cd57be266bb6d (patch)
tree435b981d7425de8155cc33f52e3082d246f45ad6
parentcfb6eb374983831ff4738816fb00308d4ebd616c (diff)
yet another bssid fix
-rw-r--r--bssid.shtml6
-rw-r--r--essid.shtml2
2 files changed, 4 insertions, 4 deletions
diff --git a/bssid.shtml b/bssid.shtml
index a5b87b7..e68274e 100644
--- a/bssid.shtml
+++ b/bssid.shtml
@@ -3,9 +3,9 @@
<!--#elif expr="$POL == l"--><!--#set var="POLCODED" value="6"-->
<!--#elif expr="$POL == r"--><!--#set var="POLCODED" value="2"-->
<!--#endif-->
-<!--#if expr="($CHAN -ge 1) && ($CHAN -le 14)"-->C<!--#echo var="POLCODED"-->:00:24:00:C0:<!--#if expr="$CHAN = /^[1-9]$/"-->0<!--#endif--><!--#echo var="CHAN"-->
-<!--#elif expr="($CHAN -ge 36) && ($CHAN -lt 100)"-->C<!--#echo var="POLCODED"-->:00:50:00:C0:<!--#echo var="CHAN"-->
-<!--#elif expr="($CHAN -ge 100) && ($CHAN -le 140)"-->C<!--#echo var="POLCODED"-->:00:50:00:C1:<!--#if expr="$CHAN = /^1([1-9]{2})$/"--><!--#echo var="$1"--><!--#endif-->
+<!--#if expr="$CHAN = /^[0-9]|1[0-3]$/"-->C<!--#echo var="POLCODED"-->:00:24:00:C0:<!--#if expr="$CHAN = /^[1-9]$/"-->0<!--#endif--><!--#echo var="CHAN"-->
+<!--#elif expr="$CHAN = /^36|40|44|48|52|56|60|64$/"-->C<!--#echo var="POLCODED"-->:00:50:00:C0:<!--#echo var="CHAN"-->
+<!--#elif expr="$CHAN = /^1(00|04|08|12|16|20|24|28|32|36|40)/"-->C<!--#echo var="POLCODED"-->:00:50:00:C1:<!--#if expr="$CHAN = /^1([1-9]{2})$/"--><!--#echo var="$1"--><!--#endif-->
<!--#else-->??:??:??:C?:??
<!--#endif-->
diff --git a/essid.shtml b/essid.shtml
index 4a5a2cc..082896f 100644
--- a/essid.shtml
+++ b/essid.shtml
@@ -25,7 +25,7 @@ Kanal / channel <!--#echo var="CHAN"--> (<!--#include file="freq.shtml"--> MHz)
<p>
SSID: http://graz.funkfeuer.at/<!--#echo var="POL"--><!--#echo var="CHAN"--><br/>
BSSID: <!--#if expr="$CHAN = /^[1-9]$/"-->0<!--#endif--><!--#echo var="CHAN"-->:CA:FF:EE:BA:BE
-<nbsp;><nbsp;>oder / ali / or<nbsp;><nbsp;>
+<em><nbsp;><nbsp;>oder / ali / or<nbsp;><nbsp;></em>
<!--#include file="bssid.shtml"-->
</p>
</div>