HomeFreeBSD

pf: Reduce diffs against OpenBSD in pf_if.c

Description

pf: Reduce diffs against OpenBSD in pf_if.c

Use memset instead of bzero, memcpy instead of bcopy, and add some
optional {}s.

Reviewed by: kp
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D36267

(cherry picked from commit 6b598e263bebaf6664b64f80f029a6ebcfc2848d)

Details

Provenance
emasteAuthored on Aug 19 2022, 9:02 PM
Reviewer
kp
Differential Revision
D36267: pf: Reduce diffs against OpenBSD in pf_if.c
Parents
rGe59d99e6e698: amd64: update comment for casueword/casueword32, mentioning return value 1
Branches
Unknown
Tags
Unknown