From c8c6be241f782e0d3fecb0fbfb042fd28a3f5dad Mon Sep 17 00:00:00 2001 From: Fredrik Tolf Date: Wed, 28 May 2008 20:01:08 +0200 Subject: [PATCH] Clarified the dscp-tos documentation a bit. --- daemon/net.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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} }; -- 2.11.0