aboutsummaryrefslogtreecommitdiffstats
path: root/sitesummary-collector.cgi
diff options
context:
space:
mode:
authorPetter Reinholdtsen <pere@hungry.com>2010-01-07 21:38:52 +0000
committerPetter Reinholdtsen <pere@hungry.com>2010-01-07 21:38:52 +0000
commita5155ba94805976af4df3194614c2e2244dd0a8a (patch)
treef9302f18831dcb19b62dec1018f6eba4ce64b931 /sitesummary-collector.cgi
parent75d9a94cafa546a5de2a9f4ee25352bb95395c5e (diff)
downloadsitesummary-a5155ba94805976af4df3194614c2e2244dd0a8a.tar.gz
sitesummary-a5155ba94805976af4df3194614c2e2244dd0a8a.tar.bz2
sitesummary-a5155ba94805976af4df3194614c2e2244dd0a8a.tar.xz
Make sure entry IDs are lower case, independend of what the client
submitted.
Diffstat (limited to 'sitesummary-collector.cgi')
-rw-r--r--sitesummary-collector.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/sitesummary-collector.cgi b/sitesummary-collector.cgi
index e3800af..7d10de0 100644
--- a/sitesummary-collector.cgi
+++ b/sitesummary-collector.cgi
@@ -106,7 +106,7 @@ sub extract_unique_id {
close (IFCONFIG);
#print STDERR "MAC: $eth0mac\n";
my $mac = $eth0mac || $eth1mac || $eth2mac || "unknown";
- return "ether-$mac";
+ return lc("ether-$mac");
}
sub process_entry {