]> git.pld-linux.org Git - packages/gated.git/blame - gated-3.5.10-glibc.patch
- dropped pre-cvs changelog
[packages/gated.git] / gated-3.5.10-glibc.patch
CommitLineData
f5da5f84
JR
1--- gated-3-5-8/src/krt.c.glibc Thu Jan 8 20:22:08 1998
2+++ gated-3-5-8/src/krt.c Thu Jan 8 20:31:20 1998
3@@ -813,7 +813,8 @@
4 if (BIT_TEST(k_flags, IFF_POINTOPOINT)) {
5 BIT_SET(state, IFS_POINTOPOINT);
6 }
7-#ifdef IFF_LOOPBACK
8+#if defined(IFF_LOOPBACK) || defined(__GLIBC__) /* on glibc-based systems this is an
9+ * enum value rather than a #define */
10 if (BIT_TEST(k_flags, IFF_LOOPBACK)) {
11 BIT_SET(state, IFS_LOOPBACK);
12 #ifdef _IBMR2
13@@ -826,13 +827,13 @@
14 }
15 #endif /* IFF_LOOPBACK */
16
17-#ifdef IFF_MULTICAST
18+#if defined(IFF_MULTICAST) || defined(__GLIBC__)
19 if (BIT_TEST(k_flags, IFF_MULTICAST)) {
20 BIT_SET(state, IFS_MULTICAST);
21 }
22 #endif /* IFF_MULTICAST */
23
24-#ifdef IFF_ALLMULTI
25+#if defined(IFF_ALLMULTI) || defined(__GLIBC__)
26 if (BIT_TEST(k_flags, IFF_ALLMULTI)) {
27 BIT_SET(state, IFS_ALLMULTI);
28 }
This page took 0.110135 seconds and 4 git commands to generate.