aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2008-03-13 14:09:01 +0000
committerPeter Palfrader <peter@palfrader.org>2008-03-13 14:09:01 +0000
commit3a92e3f15f23466c5d12f95a5bdbc98b2837e02b (patch)
treece6989ab50b2be3f76b842b4b4ddb0c3c278b531 /src/common
parentfb1e1453d39173b5d9f49f6c444f7b9dc3c76b48 (diff)
downloadtor-3a92e3f15f23466c5d12f95a5bdbc98b2837e02b.tar.gz
tor-3a92e3f15f23466c5d12f95a5bdbc98b2837e02b.zip
I wonder what the DISGARD service is
svn:r13999
Diffstat (limited to 'src/common')
-rw-r--r--src/common/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/util.c b/src/common/util.c
index e3a2615731..eeef04ea03 100644
--- a/src/common/util.c
+++ b/src/common/util.c
@@ -2936,7 +2936,7 @@ get_interface_address6(int severity, sa_family_t family, tor_addr_t *addr)
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) {