use the machine_guid instead of the key in the machine guid error log entry
Jason Priebe committed
Jun 20, 2017 at 09:56 UTC
584a043f60f6740e896b8b8ab5ea618f494f8070
1 file changed
+1
-1
src/rrdpush.c
+1
-1
@@ -774,7 +774,7 @@ int rrdpush_receiver_thread_spawn(RRDHOST *host, struct web_client *w, char *url
774
}
775
776
if(regenerate_guid(machine_guid, buf) == -1) {
777
- error("STREAM [receive from [%s]:%s]: machine GUID '%s' is not GUID. Forbidding access.", w->client_ip, w->client_port, key);
777
+ error("STREAM [receive from [%s]:%s]: machine GUID '%s' is not GUID. Forbidding access.", w->client_ip, w->client_port, machine_guid);
778
buffer_flush(w->response.data);
779
buffer_sprintf(w->response.data, "Your machine GUID is invalid.");
780
return 404;