]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
privsep: Ensure BPF listener pid is logged in debug
authorRoy Marples <roy@marples.name>
Wed, 27 Jan 2021 13:37:31 +0000 (13:37 +0000)
committerRoy Marples <roy@marples.name>
Wed, 27 Jan 2021 13:37:31 +0000 (13:37 +0000)
This mirrors the inet listener.

src/privsep-bpf.c

index 79c4696d38c241f186eeb19e9abb40129f622d6f..2db5ebc4dc66aeef2f13110bb8cdb4320812e56c 100644 (file)
@@ -254,10 +254,8 @@ ps_bpf_cmd(struct dhcpcd_ctx *ctx, struct ps_msghdr *psm, struct msghdr *msg)
                ps_entersandbox("stdio", NULL);
                break;
        default:
-#ifdef PRIVSEP_DEBUG
                logdebugx("%s: spawned BPF %s on PID %d",
                    psp->psp_ifname, psp->psp_protostr, start);
-#endif
                break;
        }
        return start;