2010-08-11 Ulrich Drepper <drepper@redhat.com>
+ [BZ #11903]
+ * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
+ Patch by Evgeni Bikov <bikovevg@iitp.ru>.
+
* nss/Makefile: Add rules to build and run tst-nss-test1.
* shlib-versions: Add entry for libnss_test1.
* nss/nss_test1.c: New file.
-GNU C Library NEWS -- history of user-visible changes. 2010-8-9
+GNU C Library NEWS -- history of user-visible changes. 2010-8-11
Copyright (C) 1992-2009, 2010 Free Software Foundation, Inc.
See the end for copying conditions.
* The following bugs are resolved with this release:
- 11640, 11701, 11840, 11856, 11883
+ 11640, 11701, 11840, 11856, 11883, 11903
* POWER7 optimizations: memset, memcmp, strncmp
-/* Copyright (C) 1991,92,93,95,96,97,98,99,2000,2009 Free Software
- Foundation, Inc.
+/* Copyright (C) 1991-1993,1995-2000,2009,2010 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
*/
#define IPTOS_CLASS_MASK 0xe0
-#define IPTOS_CLASS(class) ((tos) & IPTOS_CLASS_MASK)
+#define IPTOS_CLASS(class) ((class) & IPTOS_CLASS_MASK)
#define IPTOS_CLASS_CS0 0x00
#define IPTOS_CLASS_CS1 0x20
#define IPTOS_CLASS_CS2 0x40