diff --git a/utils/collectd/Makefile b/utils/collectd/Makefile index 5a2176119..eac9b2aca 100644 --- a/utils/collectd/Makefile +++ b/utils/collectd/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=collectd PKG_VERSION:=4.10.7 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=http://collectd.org/files/ diff --git a/utils/collectd/patches/900-add-iwinfo-plugin.patch b/utils/collectd/patches/900-add-iwinfo-plugin.patch index 40618f0a6..98945863c 100644 --- a/utils/collectd/patches/900-add-iwinfo-plugin.patch +++ b/utils/collectd/patches/900-add-iwinfo-plugin.patch @@ -97,7 +97,7 @@ The I plugin makes it possible to write extensions for collectd in Java. --- /dev/null +++ b/src/iwinfo.c -@@ -0,0 +1,149 @@ +@@ -0,0 +1,150 @@ +/** + * collectd - src/iwinfo.c + * Copyright (C) 2011 Jo-Philipp Wich @@ -198,7 +198,8 @@ + + if (iw->assoclist(ifname, buf, &val)) + val = 0; -+ iwinfo_submit(ifname, "stations", val); ++ iwinfo_submit(ifname, "stations", ++ val / sizeof(struct iwinfo_assoclist_entry)); + } + + iwinfo_finish();