Bug #2732 » 0001-dhclient-Update-linkstate-after-poll.patch
sbin/dhclient/dispatch.c | ||
---|---|---|
}
|
||
if ((fds[0].revents & (POLLIN | POLLHUP))) {
|
||
/* XXX profmakx: I am not sure whether updating the linkstate
|
||
here is the best idea, but it being not up to date leads
|
||
to a busy loop */
|
||
ifi->linkstat = interface_status(ifi->name);
|
||
if (ifi && ifi->linkstat && ifi->rfdesc != -1)
|
||
got_one();
|
||
}
|
- « Previous
- 1
- 2
- Next »