]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
DHCP: Re-enable the debug log of already bound messages
authorRoy Marples <roy@marples.name>
Tue, 17 Sep 2019 08:19:02 +0000 (09:19 +0100)
committerRoy Marples <roy@marples.name>
Tue, 17 Sep 2019 08:19:02 +0000 (09:19 +0100)
It's handy for debugging from whence the packet came even if
already bound.

src/dhcp.c

index 4b4c87962d8ab8267a9ed443e5673840e881ae97..0a87e036eb7b6450f9f8762b8560912159a1d12c 100644 (file)
@@ -2959,10 +2959,7 @@ dhcp_handledhcp(struct interface *ifp, struct bootp *bootp, size_t bootp_len,
        }
 
        if (state->state == DHS_BOUND) {
-               /* Before we supported FORCERENEW we closed off the raw
-                * port so we effectively ignored all messages.
-                * As such we'll not log by default here. */
-               //LOGDHCP(logdebugx, "bound, ignoring");
+               LOGDHCP(logdebugx, "bound, ignoring");
                return;
        }