chiark / gitweb /
sd-dhcp-client: don't fail hard if UDP socket can not be bound
authorTom Gundersen <teg@jklm.no>
Sun, 29 Jun 2014 14:42:43 +0000 (16:42 +0200)
committerTom Gundersen <teg@jklm.no>
Sun, 29 Jun 2014 14:42:43 +0000 (16:42 +0200)
commitfb41e6d7c68c83558f8482f7fc72794a67b0638f
tree9e0efa0da2392495635b843bbfe7c1810a0cb60f
parentb16665806a448186f432b47e944f1682284a0182
sd-dhcp-client: don't fail hard if UDP socket can not be bound

Even if we cannot renew the lease at T1, we will likely succeed at T2, so warn and ignore the failure.

This could happen if for whatever reason the received address is not yet configured, or it has
been lost.
src/libsystemd-network/sd-dhcp-client.c