diff options
author | Christian Pointner <equinox@spreadspace.org> | 2016-08-07 23:14:21 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2016-08-07 23:14:21 +0200 |
commit | d26dd5c7b96b0102953fbd47c632458bf65e79e7 (patch) | |
tree | a34e76b50ccdd477a7ede7d72bdf6e1e1ea73bb5 | |
parent | 0f5c6298749c12b17dcf070002f8e972c3acb1be (diff) |
ifs where splitted wrongly
-rw-r--r-- | bssid.shtml | 7 | ||||
-rw-r--r-- | bssid2.shtml | 8 | ||||
-rw-r--r-- | bssid24.shtml | 3 |
3 files changed, 9 insertions, 9 deletions
diff --git a/bssid.shtml b/bssid.shtml index db6425a..d00975d 100644 --- a/bssid.shtml +++ b/bssid.shtml @@ -4,6 +4,11 @@ <!--#elif expr="$POL = r"--><!--#set var="POLCODED" value="2"--> <!--#endif--> <!--#if expr="$CHAN = /([1-9]|1[0-3])/"--> -<!--#include file="bssid2.shtml"--> +<!--#include file="bssid24.shtml"--> +<!--#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)/"--> +<!--#set var="CHANLOW" value="$1"--> +C<!--#echo var="POLCODED"-->:00:50:00:C0:<!--#echo var="CHAN"--> <!--#else-->??:??:??:C?:?? <!--#endif--> diff --git a/bssid2.shtml b/bssid2.shtml deleted file mode 100644 index cc2880c..0000000 --- a/bssid2.shtml +++ /dev/null @@ -1,8 +0,0 @@ -<!--#if expr="$CHAN = /[1-9]/"-->0<!--#endif--><!--#if expr="$CHAN = 3"-->2<!--#else--><!--#echo var="CHAN"--><!--#endif-->:CA:FF:EE:BA:BE<br/> -<em>oder / ali / or</em> <br/> -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)/"--> -<!--#set var="CHANLOW" value="$1"--> -C<!--#echo var="POLCODED"-->:00:50:00:C1:<!--#echo var="CHANLOW"--> diff --git a/bssid24.shtml b/bssid24.shtml new file mode 100644 index 0000000..f6bedac --- /dev/null +++ b/bssid24.shtml @@ -0,0 +1,3 @@ +<!--#if expr="$CHAN = /[1-9]/"-->0<!--#endif--><!--#if expr="$CHAN = 3"-->2<!--#else--><!--#echo var="CHAN"--><!--#endif-->:CA:FF:EE:BA:BE<br/> +<em>oder / ali / or</em> <br/> +C<!--#echo var="POLCODED"-->:00:24:00:C0:<!--#if expr="$CHAN = /[1-9]/"-->0<!--#endif--><!--#echo var="CHAN"--> |