From: Roy Marples Date: Mon, 9 Jan 2023 16:42:00 +0000 (+0000) Subject: privsep: Correct prior for dhcpcd-9 X-Git-Tag: v9.5.0~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c395e1735eb7fa23b1264b29b187cb1995a4b930;p=thirdparty%2Fdhcpcd.git privsep: Correct prior for dhcpcd-9 --- diff --git a/src/privsep.c b/src/privsep.c index 3bbee5e1..ab29bb7b 100644 --- a/src/privsep.c +++ b/src/privsep.c @@ -369,7 +369,7 @@ ps_dostart(struct dhcpcd_ctx *ctx, #ifdef PLUGIN_DEV /* If we are not the root process, stop listening to devices. */ - if (ctx->ps_root != psp) + if (priv_fd != &ctx->ps_root_fd) dev_stop(ctx); #endif