HomeFreeBSD

ipfw: Fix ipfw/dnctl detection

Description

ipfw: Fix ipfw/dnctl detection

Running "dnctl" vs "/sbin/dnctl" gave different results, because we
looked at the entire argv[0] string, rather than the basename.

Reviewed by: kp
Differential Revision: https://reviews.freebsd.org/D37431

Details

Provenance
meka_tilda.centerAuthored on Nov 22 2022, 8:53 AM
kpCommitted on Nov 22 2022, 8:53 AM
Reviewer
kp
Differential Revision
D37431: Fix ipfw/dnctl detection
Parents
rGb8a0dfb17e3b: Add support for _CR3 critical standby (S3) threshold.
Branches
Unknown
Tags
Unknown