diff options
author | Christian Pointner <equinox@spreadspace.org> | 2016-08-07 23:04:08 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2016-08-07 23:04:08 +0200 |
commit | d2b68f50511036743c3b9aafa2dbf1d8f2ac5999 (patch) | |
tree | 4b255426cc8fe59371e8da3d35069737c3b6a328 /bssid2.shtml | |
parent | 230902a9dfa1e2478a5b172c6741035cd3e2e6aa (diff) |
nginx does not support nested ifs...
Diffstat (limited to 'bssid2.shtml')
-rw-r--r-- | bssid2.shtml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bssid2.shtml b/bssid2.shtml new file mode 100644 index 0000000..2d877f2 --- /dev/null +++ b/bssid2.shtml @@ -0,0 +1,8 @@ +<!--#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"--> |