summaryrefslogtreecommitdiffstats
path: root/usr/local/www/services_captiveportal_mac.php
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2013-09-12 15:01:43 -0300
committerRenato Botelho <garga@FreeBSD.org>2013-09-12 15:01:43 -0300
commit01ba8ec63d4c99ed8fd1e3085c9fa960aa6d3a7b (patch)
tree59d390facf60bf3eb0e953f4f3660b4fbf8aef52 /usr/local/www/services_captiveportal_mac.php
parent4f7bba4647a291b31d8a8029df2a6c584a6bc138 (diff)
downloadpfsense-01ba8ec63d4c99ed8fd1e3085c9fa960aa6d3a7b.zip
pfsense-01ba8ec63d4c99ed8fd1e3085c9fa960aa6d3a7b.tar.gz
Convert mac address to lowercase when saving to avoid duplicates. It fixes #3195
Diffstat (limited to 'usr/local/www/services_captiveportal_mac.php')
-rwxr-xr-xusr/local/www/services_captiveportal_mac.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/services_captiveportal_mac.php b/usr/local/www/services_captiveportal_mac.php
index 68084a6..b0a8492 100755
--- a/usr/local/www/services_captiveportal_mac.php
+++ b/usr/local/www/services_captiveportal_mac.php
@@ -175,7 +175,7 @@ include("head.inc");
<img src="./themes/<?= $g['theme']; ?>/images/icons/icon_<?=$mac['action'];?>.gif" width="11" height="11" border="0" alt="icon" />
</td>
<td class="listlr">
- <?=strtolower($mac['mac']);?>
+ <?=$mac['mac'];?>
</td>
<td class="listbg">
<?=htmlspecialchars($mac['descr']);?>&nbsp;
OpenPOWER on IntegriCloud