[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r13999: I wonder what the DISGARD service is (tor/trunk/src/common)
Author: weasel
Date: 2008-03-13 10:09:01 -0400 (Thu, 13 Mar 2008)
New Revision: 13999
Modified:
tor/trunk/src/common/util.c
Log:
I wonder what the DISGARD service is
Modified: tor/trunk/src/common/util.c
===================================================================
--- tor/trunk/src/common/util.c 2008-03-13 06:13:14 UTC (rev 13998)
+++ tor/trunk/src/common/util.c 2008-03-13 14:09:01 UTC (rev 13999)
@@ -2936,7 +2936,7 @@
memset(addr, 0, sizeof(tor_addr_t));
memset(&target_addr, 0, sizeof(target_addr));
my_addr_len = (socklen_t)sizeof(my_addr);
- ((struct sockaddr_in*)&target_addr)->sin_port = 9; /* DISGARD port */
+ ((struct sockaddr_in*)&target_addr)->sin_port = 9; /* the "discard" service port */
/* Don't worry: no packets are sent. We just need to use a real address
* on the actual internet. */
if (family == AF_INET6) {