]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Don't log an interface for the global error.
authorRoy Marples <roy@marples.name>
Tue, 2 Sep 2014 07:41:15 +0000 (07:41 +0000)
committerRoy Marples <roy@marples.name>
Tue, 2 Sep 2014 07:41:15 +0000 (07:41 +0000)
dhcp.c

diff --git a/dhcp.c b/dhcp.c
index a2d8a30d7859e089c6311daaab53125cbcc75597..2a46ad2832a50852ccbce0e3e0e6fb29ac36d29d 100644 (file)
--- 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,