diff --git a/utils/collectd/Makefile b/utils/collectd/Makefile index e3c966d22..98479781d 100644 --- a/utils/collectd/Makefile +++ b/utils/collectd/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=collectd PKG_VERSION:=5.9.0 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=https://collectd.org/files/ \ diff --git a/utils/collectd/patches/920-fix-ping-droprate.patch b/utils/collectd/patches/920-fix-ping-droprate.patch deleted file mode 100644 index 6b1e9a0d4..000000000 --- a/utils/collectd/patches/920-fix-ping-droprate.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/src/ping.c -+++ b/src/ping.c -@@ -648,7 +648,7 @@ static int ping_read(void) /* {{{ */ - ((double)(pkg_recv * (pkg_recv - 1)))); - - /* Calculate drop rate. */ -- droprate = ((double)(pkg_sent - pkg_recv)) / ((double)pkg_sent); -+ droprate = ((double)(pkg_sent - pkg_recv)) * 100 / ((double)pkg_sent); - - submit(hl->host, "ping", latency_average); - submit(hl->host, "ping_stddev", latency_stddev);