summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/ipv6.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/ipv6.h b/lib/ipv6.h
index 32525af..33f2742 100644
--- a/lib/ipv6.h
+++ b/lib/ipv6.h
@@ -72,6 +72,11 @@ static inline unsigned ipv6_hash(ip_addr *a)
return (x ^ (x >> 16) ^ (x >> 8)) & 0xffff;
}
-#define IP_PREC_INTERNET_CONTROL 0 /* FIXME: What's the right value? */
+/*
+ * RFC 1883 defines packet precendece, but RFC 2460 replaces it
+ * by generic Traffic Class ID with no defined semantics. Better
+ * not use it yet.
+ */
+#define IP_PREC_INTERNET_CONTROL -1
#endif