summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7856e1b)
raw | patch | inline | side by side (parent: 7856e1b)
author | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | |
Mon, 2 Apr 2007 07:32:30 +0000 (07:32 +0000) | ||
committer | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | |
Mon, 2 Apr 2007 07:32:30 +0000 (07:32 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1671 f882894a-f735-0410-b71e-b25c423dba1c
plugins/check_ntp.c | patch | blob | history |
diff --git a/plugins/check_ntp.c b/plugins/check_ntp.c
index 8b49928abaf5431f9fef2c90d38db0adbe43ae9c..99fa9a2eb9225f6ba6de760b6b27e685b3d22e85 100644 (file)
--- a/plugins/check_ntp.c
+++ b/plugins/check_ntp.c
/* get to the float value */
if(verbose) {
- printf("parsing jitter from peer %.2x: ", peers[i].assoc);
+ printf("parsing jitter from peer %.2x: ", ntohs(peers[i].assoc));
}
startofvalue = strchr(req.data, '=');
if(startofvalue != NULL) startofvalue++;