collectd: Improve sqm_collectd error reporting
authorKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Sun, 17 May 2020 15:10:48 +0000 (16:10 +0100)
committerHannu Nyman <hannu.nyman@iki.fi>
Sun, 7 Jun 2020 15:32:53 +0000 (18:32 +0300)
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
(cherry picked from commit a809dc6f3b4d42e185d84f527cb5e800325ae1d7)

utils/collectd/Makefile
utils/collectd/files/exec-scripts/sqm_collectd.sh

index 0444232b4d7ce16f5bde08ce4b9f94b9f042a673..7e89232f21dcdf0cd11001504f83b89061d925de 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=collectd
 PKG_VERSION:=5.11.0
-PKG_RELEASE:=4
+PKG_RELEASE:=5
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=https://collectd.org/files/ \
index a2927854e24ff48eab433f8bab9d8a6e5c374180..66ba8df3876553f52c0b261e7caf239d901510f5 100755 (executable)
@@ -92,7 +92,7 @@ process_qdisc() {
                mq) handle_mq "$ifc"
                ;;
 
-               *) echo "Unknown qdisc type" 1>&2
+               *) echo "Unknown qdisc type '$qdisc' on interface '$ifc'" 1>&2
                ;;
        esac
        json_cleanup