Module: check_mk
Branch: master
Commit: 92cad1fefa11610fc323753a75ae017dee6b5eea
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=92cad1fefa1161…
Author: Florian Heigl <fh(a)mathias-kettner.de>
Date: Sun Jul 22 15:30:51 2012 +0200
agents/FreeBSD: Fix line wrap, thanks to Max Matslofva
---
agents/check_mk_agent.freebsd | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/agents/check_mk_agent.freebsd b/agents/check_mk_agent.freebsd
index 14a3e61..aabc993 100755
--- a/agents/check_mk_agent.freebsd
+++ b/agents/check_mk_agent.freebsd
@@ -184,8 +184,7 @@ if [ "$(echo $osver | cut -f1 -d\. )" -gt "8" ];
then
netstat -inb | egrep -v '(^Name|lo|plip)' | grep Link | awk '{print
$1" "$8" "$5" "$6" "$7" 0 0 0 0
"$11" "$9" "$10" 0 0 0 0 0"}'
else
# pad output for freebsd 7 and before
- netstat -inb | egrep -v '(^Name|lo|plip)' | grep Link | awk '{print
$1" "$7"
-"$5" "$6" 0 0 0 0 0 "$10" "$8" "$9" 0 0
"$11" 0 0"}'
+ netstat -inb | egrep -v '(^Name|lo|plip)' | grep Link | awk '{print
$1" "$7" "$5" "$6" 0 0 0 0 0 "$10"
"$8" "$9" 0 0 "$11" 0 0"}'
fi