diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/kdc/network.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/kdc/network.c b/src/kdc/network.c index 05ca79aa9..b725b2798 100644 --- a/src/kdc/network.c +++ b/src/kdc/network.c @@ -187,13 +187,11 @@ foreach_localaddr (data, pass1fn, betweenfn, pass2fn) continue; } -#if 0 /* Access from same host doesn't work if loopback is omitted? */ #ifdef IFF_LOOPBACK /* None of the current callers want loopback addresses. */ if (ifreq.ifr_flags & IFF_LOOPBACK) goto skip; #endif -#endif /* Ignore interfaces that are down. */ if (!(ifreq.ifr_flags & IFF_UP)) goto skip; @@ -391,7 +389,7 @@ const char *prog; signal_requests_hup = 0; } readfds = select_fds; - nfound = select(select_nfds, &readfds, 0, 0, 0); + nfound = select(select_nfds + 1, &readfds, 0, 0, 0); if (nfound == -1) { if (errno == EINTR) continue; |
