freebsd-ports/sysutils/munin-node/files/patch-plugins__node.d.freebsd__if_.in
Mathieu Arnold 7cfb172ecf - Add missing dependency on www/p5-libwww [1]
- Fix fail2ban's path [2] (while there, make plugins.conf PREFIX safe)
- Fix multiping plugin [3] (while there, regenerate patches)
- Add a forgotten run dep on Java.

PR:		192341 [1]
Submitted by:	fbsd@shoggothmedia.com [1]
PR:		179549 [2]
Submitted by:	fabian@bug.ch [2]
PR:		192332 [3]
Submitted by:	fbsd@shoggothmedia.com [3]
Sponsored by:	Absolight
2014-09-03 07:28:40 +00:00

16 lines
370 B
Text

--- plugins/node.d.freebsd/if_.in.orig 2014-04-22 19:29:32 UTC
+++ plugins/node.d.freebsd/if_.in
@@ -83,9 +83,12 @@
if (NF == 10) {
print "rbytes.value", $6;
print "obytes.value", $9;
- } else {
+ } else if (NF == 11) {
print "rbytes.value", $7;
print "obytes.value", $10;
+ } else {
+ print "rbytes.value", $8;
+ print "obytes.value", $11;
}
}'
fi