aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/changelog2
-rw-r--r--sitesummary-collector.cgi2
2 files changed, 3 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 925a456..73dbc84 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,8 @@ sitesummary (0.0.53) UNRELEASED; urgency=low
* Only reload Nagios in cron job if the generated configuration
changed.
* Quiet down first invocation of the cron job.
+ * Make sure entry IDs are lower case, independend of what the client
+ submitted.
-- Petter Reinholdtsen <pere@debian.org> Thu, 07 Jan 2010 20:03:00 +0100
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 {