<p dir="ltr"><br>
On 21 Feb 2014 03:22, "Lennart Poettering" <<a href="mailto:lennart@poettering.net">lennart@poettering.net</a>> wrote:<br>
><br>
> On Thu, 20.02.14 21:04, Umut Tezduyar Lindskog (<a href="mailto:umut.tezduyar@axis.com">umut.tezduyar@axis.com</a>) wrote:<br>
><br>
> Tom commited this. Thanks!<br>
><br>
> Tom, please always do a quick reply on the ML so that it is easy to see<br>
> what is commited and what is not!</p>
<p dir="ltr">Sorry about that. It seems my reply only went to Umut and not the ML...<br></p>
<p dir="ltr">> Thanks!<br>
><br>
> > ---<br>
> >  src/libsystemd-dhcp/sd-dhcp-client.c |    4 ++++<br>
> >  1 file changed, 4 insertions(+)<br>
> ><br>
> > diff --git a/src/libsystemd-dhcp/sd-dhcp-client.c b/src/libsystemd-dhcp/sd-dhcp-client.c<br>
> > index ec2b53f..53abe22 100644<br>
> > --- a/src/libsystemd-dhcp/sd-dhcp-client.c<br>
> > +++ b/src/libsystemd-dhcp/sd-dhcp-client.c<br>
> > @@ -392,6 +392,8 @@ static int client_timeout_resend(sd_event_source *s, uint64_t usec,<br>
> ><br>
> >          next_timeout += (random_u32() & 0x1fffff);<br>
> ><br>
> > +        client->timeout_resend = sd_event_source_unref(client->timeout_resend);<br>
> > +<br>
> >          r = sd_event_add_monotonic(client->event,<br>
> >                                       &client->timeout_resend,<br>
> >                                       next_timeout,<br>
> > @@ -477,6 +479,8 @@ static int client_initialize_events(sd_dhcp_client *client,<br>
> >          if (r < 0)<br>
> >                  goto error;<br>
> ><br>
> > +        client->timeout_resend = sd_event_source_unref(client->timeout_resend);<br>
> > +<br>
> >          r = sd_event_add_monotonic(client->event,<br>
> >                                     &client->timeout_resend,<br>
> >                                     usec, 0,<br>
><br>
><br>
> Lennart<br>
><br>
> --<br>
> Lennart Poettering, Red Hat<br>
> _______________________________________________<br>
> systemd-devel mailing list<br>
> <a href="mailto:systemd-devel@lists.freedesktop.org">systemd-devel@lists.freedesktop.org</a><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/systemd-devel">http://lists.freedesktop.org/mailman/listinfo/systemd-devel</a><br>
</p>