From: Fredrik Tolf Date: Wed, 28 May 2008 18:01:08 +0000 (+0200) Subject: Clarified the dscp-tos documentation a bit. X-Git-Tag: 1.3~11^2^2~7 X-Git-Url: http://git.dolda2000.com/gitweb/?a=commitdiff_plain;h=c8c6be241f782e0d3fecb0fbfb042fd28a3f5dad;p=doldaconnect.git Clarified the dscp-tos documentation a bit. --- diff --git a/daemon/net.c b/daemon/net.c index 1b3af9d..d0cd9c8 100644 --- a/daemon/net.c +++ b/daemon/net.c @@ -84,8 +84,9 @@ static struct configvar myvars[] = {CONF_VAR_INT, "diffserv-mindelay", {.num = 0}}, /** If enabled, the IP TOS interface will be used to set Diffserv * codepoints on IPv4 sockets, by shifting the DSCP value two bits - * to the left (across the ECN bits). This may only work on - * Linux. */ + * to the left (remember, the DSCP field in the IPv4 header is + * defined as the 6 uppermost bits of the TOS field, the lower two + * being left for ECN). This may only work on Linux. */ {CONF_VAR_BOOL, "dscp-tos", {.num = 0}}, {CONF_VAR_END} };