]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
This comment no longer applies with kqueue(2) and epoll(7).
authorRoy Marples <roy@marples.name>
Fri, 26 Feb 2016 16:10:36 +0000 (16:10 +0000)
committerRoy Marples <roy@marples.name>
Fri, 26 Feb 2016 16:10:36 +0000 (16:10 +0000)
eloop.c

diff --git a/eloop.c b/eloop.c
index 5102fc48200667049221e6965081abd1234ce5a5..64267fbb33efd3a6f3b5243e35517b0f687ea7a7 100644 (file)
--- a/eloop.c
+++ b/eloop.c
@@ -354,12 +354,6 @@ eloop_event_add(struct eloop *eloop, int fd,
                goto err;
 #endif
 
-       /* The order of events should not matter.
-        * However, some PPP servers love to close the link right after
-        * sending their final message. So to ensure dhcpcd processes this
-        * message (which is likely to be that the DHCP addresses are wrong)
-        * we insert new events at the queue head as the link fd will be
-        * the first event added. */
        TAILQ_INSERT_HEAD(&eloop->events, e, next);
        eloop_event_setup_fds(eloop);
        return 0;