From c6fd9b8f7758ef0e336a3406e9a1b0cc2d247f38 Mon Sep 17 00:00:00 2001 From: Andris Zeila Date: Tue, 14 Jan 2014 14:55:31 +0000 Subject: .......PS. [ZBX-7576] when pinging a broadcast address ignore responses from other addresses --- include/zbxicmpping.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'include/zbxicmpping.h') diff --git a/include/zbxicmpping.h b/include/zbxicmpping.h index 6358962dde9..9e4ba3bf028 100644 --- a/include/zbxicmpping.h +++ b/include/zbxicmpping.h @@ -23,8 +23,12 @@ typedef struct { char *addr; - double min, avg, max; - int rcv, cnt; + double min; + double avg; + double max; + int rcv; + int cnt; + char *status; /* array of individual response statuses: 1 - valid, 0 - timeout */ } ZBX_FPING_HOST; -- cgit v1.2.3