chiark / gitweb /
sd-dhcp-client: don't fail hard if UDP socket can not be bound
[elogind.git] / src / libsystemd-network / sd-dhcp-client.c
index 790728b40cca949cbbd55251c9bfbaab509e8ceb..8e9f5bd827aa86546d073ab06bf5afb156e1b9a7 100644 (file)
@@ -776,7 +776,7 @@ static int client_timeout_t1(sd_event_source *s, uint64_t usec,
         r = dhcp_network_bind_udp_socket(client->lease->address,
                                          DHCP_PORT_CLIENT);
         if (r < 0) {
-                client_stop(client, r);
+                log_dhcp_client(client, "could not bind UDP socket");
                 return 0;
         }