From 135d2fc69ef8993244786ebb1041ad85bc69baee Mon Sep 17 00:00:00 2001
From: ale <ale@incal.net>
Date: Thu, 9 Oct 2014 08:43:59 +0100
Subject: [PATCH] oops, forgot ipToMetric on an IP metric

---
 fe/http.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fe/http.go b/fe/http.go
index 7e96f47b..ef0cf79e 100644
--- a/fe/http.go
+++ b/fe/http.go
@@ -116,7 +116,7 @@ func (h *HttpRedirector) serveRelay(w http.ResponseWriter, r *http.Request) {
 		http.Error(w, "No active nodes", http.StatusServiceUnavailable)
 		return
 	}
-	httpTargetStats.IncrVar(relayAddr)
+	httpTargetStats.IncrVar(ipToMetric(relayAddr))
 
 	// Create the m3u response.
 	m3u := fmt.Sprintf("http://%s%s\n", makeIcecastUrl(relayAddr), mount.Name)
-- 
GitLab