[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[monit-dev] [monit] r290 committed - [No log message]
From: |
monit |
Subject: |
[monit-dev] [monit] r290 committed - [No log message] |
Date: |
Sun, 26 Sep 2010 23:46:02 +0000 |
Revision: 290
Author: martin2812
Date: Sun Sep 26 16:45:20 2010
Log: [No log message]
http://code.google.com/p/monit/source/detail?r=290
Modified:
/trunk/net.c
=======================================
--- /trunk/net.c Sun Sep 26 16:37:28 2010
+++ /trunk/net.c Sun Sep 26 16:45:20 2010
@@ -703,7 +703,7 @@
}
#endif
- id_out = htons(getpid() & 0xFFFF);
+ id_out = getpid() & 0xFFFF;
icmpout = (struct icmp *)buf;
for (i = 0; i < count; i++) {
int j;
@@ -711,7 +711,7 @@
icmpout->icmp_code = 0;
icmpout->icmp_type = ICMP_ECHO;
- icmpout->icmp_id = id_out;
+ icmpout->icmp_id = htons(id_out);
icmpout->icmp_seq = i;
icmpout->icmp_cksum = 0;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [monit-dev] [monit] r290 committed - [No log message],
monit <=