From 0eb85def78f66cdc4ea08cb7e34920e5c0d884a2 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Thu, 21 Aug 2008 08:52:34 +0000 Subject: [PATCH] Always open a UDP port on the interface. This stops ICMP not reachable messages when dhcpcd first starts and the IP we get is already configured on the interface. --- client.c | 1 - 1 file changed, 1 deletion(-) diff --git a/client.c b/client.c index fbb4deed..15a33f2d 100644 --- a/client.c +++ b/client.c @@ -612,7 +612,6 @@ do_socket(struct if_state *state, int mode) if (mode == SOCKET_OPEN && state->interface->udp_fd == -1 && - state->lease.addr.s_addr != 0 && open_udp_socket(state->interface) == -1) logger(LOG_ERR, "open_udp_socket: %s", strerror(errno)); -- 2.47.2