diff --git a/sys/security/audit/audit.c b/sys/security/audit/audit.c index 68747b8691a2..34de1d0b9f50 100644 --- a/sys/security/audit/audit.c +++ b/sys/security/audit/audit.c @@ -551,6 +551,7 @@ audit_cred_kproc0(struct ucred *cred) { cred->cr_audit.ai_auid = AU_DEFAUDITID; + cred->cr_audit.ai_termid.at_type = AU_IPv4; } void @@ -558,6 +559,7 @@ audit_cred_proc1(struct ucred *cred) { cred->cr_audit.ai_auid = AU_DEFAUDITID; + cred->cr_audit.ai_termid.at_type = AU_IPv4; } void