From: Roy Marples Date: Wed, 19 Jun 2013 09:41:30 +0000 (+0000) Subject: Reduce the buggy PPP wait to 1 second. X-Git-Tag: v6.0.0~8 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=03525cfd990e8934519c85410d912df534dff826;p=thirdparty%2Fdhcpcd.git Reduce the buggy PPP wait to 1 second. --- diff --git a/dhcp6.c b/dhcp6.c index d7ba7789..89780fe7 100644 --- a/dhcp6.c +++ b/dhcp6.c @@ -747,9 +747,9 @@ dhcp6_sendmessage(struct interface *ifp, void (*callback)(void *)) /* Some buggy PPP servers close the link too early * after sending an invalid status in their reply * which means this host won't see it. - * 2 seconds grace seems to be the sweet spot. */ + * 1 second grace seems to be the sweet spot. */ if (ifp->flags & IFF_POINTOPOINT) - state->RT.tv_sec = 2; + state->RT.tv_sec = 1; else state->RT.tv_sec = 0; state->RT.tv_usec = arc4random() %