From: Roy Marples Date: Tue, 2 Sep 2014 07:41:15 +0000 (+0000) Subject: Don't log an interface for the global error. X-Git-Tag: v6.4.4~48 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9fd4a0792d4855b6258ce3f8e63abde22924ab8a;p=thirdparty%2Fdhcpcd.git Don't log an interface for the global error. --- diff --git a/dhcp.c b/dhcp.c index a2d8a30d..2a46ad28 100644 --- a/dhcp.c +++ b/dhcp.c @@ -2900,9 +2900,9 @@ dhcp_start1(void *arg) /* Listen on *.*.*.*:bootpc so that the kernel never sends an * ICMP port unreachable message back to the DHCP server */ if (ifp->ctx->udp_fd == -1) { - ifp->ctx->udp_fd = dhcp_openudp(NULL); + ifp->ctx->udp_fd = dhcp_openudp(NULL); if (ifp->ctx->udp_fd == -1) { - syslog(LOG_ERR, "%s: dhcp_openudp: %m", ifp->name); + syslog(LOG_ERR, "dhcp_openudp: %m"); return; } eloop_event_add(ifp->ctx->eloop,