This is why things weren't working without the loopback addresses,
which showed up last in the list, after the address my client was
trying to use, thus hiding the error.
(I tried to abort the previous checkin, but cvs went ahead with it
despite the "editor session failed" report...hm.)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12071
dc483132-0cff-0310-8789-
dd5450dbe970
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))
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;