mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-05-28 04:35:40 -04:00
Fix byte order in verbose logging
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1671 f882894a-f735-0410-b71e-b25c423dba1c
This commit is contained in:
parent
7856e1ba2b
commit
3315c3f25e
1 changed files with 1 additions and 1 deletions
|
|
@ -593,7 +593,7 @@ double jitter_request(const char *host, int *status){
|
|||
|
||||
/* 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++;
|
||||
|
|
|
|||
Loading…
Reference in a new issue