1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
--- lib/krb5/os/localaddr.c.orig Wed Apr 13 09:55:43 2005
+++ lib/krb5/os/localaddr.c Sun Jul 16 09:29:05 2006
@@ -436,12 +436,14 @@
#endif
if ((ifp->ifa_flags & IFF_UP) == 0)
continue;
+#if 0
if (ifp->ifa_flags & IFF_LOOPBACK) {
/* Pretend it's not up, so the second pass will skip
it. */
ifp->ifa_flags &= ~IFF_UP;
continue;
}
+#endif
if (ifp->ifa_addr == NULL) {
/* Can't use an interface without an address. Linux
apparently does this sometimes. [RT ticket 1770 from
@@ -459,8 +461,10 @@
for (ifp2 = ifp_head; ifp2 && ifp2 != ifp; ifp2 = ifp2->ifa_next) {
if ((ifp2->ifa_flags & IFF_UP) == 0)
continue;
+#if 0
if (ifp2->ifa_flags & IFF_LOOPBACK)
continue;
+#endif
if (addr_eq (ifp->ifa_addr, ifp2->ifa_addr)) {
match = 1;
ifp->ifa_flags &= ~IFF_UP;
@@ -583,6 +587,7 @@
}
/*@=moduncon@*/
+#if 0
#ifdef IFF_LOOPBACK
/* None of the current callers want loopback addresses. */
if (lifreq.lifr_flags & IFF_LOOPBACK) {
@@ -590,6 +595,7 @@
goto skip;
}
#endif
+#endif
/* Ignore interfaces that are down. */
if ((lifreq.lifr_flags & IFF_UP) == 0) {
Tprintf ((" down\n"));
@@ -755,6 +761,7 @@
}
/*@=moduncon@*/
+#if 0
#ifdef IFF_LOOPBACK
/* None of the current callers want loopback addresses. */
if (lifreq.iflr_flags & IFF_LOOPBACK) {
@@ -762,6 +769,7 @@
goto skip;
}
#endif
+#endif
/* Ignore interfaces that are down. */
if ((lifreq.iflr_flags & IFF_UP) == 0) {
Tprintf ((" down\n"));
@@ -971,12 +979,14 @@
}
/*@=moduncon@*/
+#if 0
#ifdef IFF_LOOPBACK
/* None of the current callers want loopback addresses. */
if (ifreq.ifr_flags & IFF_LOOPBACK) {
Tprintf ((" loopback\n"));
goto skip;
}
+#endif
#endif
/* Ignore interfaces that are down. */
if ((ifreq.ifr_flags & IFF_UP) == 0) {
|