summaryrefslogtreecommitdiffstats
path: root/streaming/receiver.c
diff options
context:
space:
mode:
authorEmmanuel Vasilakis <mrzammler@mm.st>2021-05-31 16:29:47 +0300
committerGitHub <noreply@github.com>2021-05-31 16:29:47 +0300
commit9f40c4b12c1047c3489ba07dcf1c1e9b647d1835 (patch)
tree2c9b9aaa1bd19b9a7e5f84e7b4488345039190ab /streaming/receiver.c
parent5bce2d9a8196a90e9d3972b90934d79bad4bb8e1 (diff)
Provide UTC offset in seconds and edit health config command (#11051)
* add abbreviated timezone, utc offset in seconds, and edit health alarm command rebased * formating * use str2i instead of atoi
Diffstat (limited to 'streaming/receiver.c')
-rw-r--r--streaming/receiver.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/streaming/receiver.c b/streaming/receiver.c
index e1639e3799..e1fcaafb38 100644
--- a/streaming/receiver.c
+++ b/streaming/receiver.c
@@ -11,6 +11,7 @@ void destroy_receiver_state(struct receiver_state *rpt) {
freez(rpt->machine_guid);
freez(rpt->os);
freez(rpt->timezone);
+ freez(rpt->abbrev_timezone);
freez(rpt->tags);
freez(rpt->client_ip);
freez(rpt->client_port);
@@ -307,6 +308,8 @@ static int rrdpush_receive(struct receiver_state *rpt)
, rpt->machine_guid
, rpt->os
, rpt->timezone
+ , rpt->abbrev_timezone
+ , rpt->utc_offset
, rpt->tags
, rpt->program_name
, rpt->program_version