diff options
| author | Petter Reinholdtsen <pere@hungry.com> | 2010-01-07 21:38:52 +0000 |
|---|---|---|
| committer | Petter Reinholdtsen <pere@hungry.com> | 2010-01-07 21:38:52 +0000 |
| commit | a5155ba94805976af4df3194614c2e2244dd0a8a (patch) | |
| tree | f9302f18831dcb19b62dec1018f6eba4ce64b931 /sitesummary-collector.cgi | |
| parent | 75d9a94cafa546a5de2a9f4ee25352bb95395c5e (diff) | |
| download | sitesummary-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.cgi | 2 |
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 { |
