The branch main has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=27626ff49ada57f1978c893f21743e312dd40106
commit 27626ff49ada57f1978c893f21743e312dd40106 Author: Kristof Provost <k...@freebsd.org> AuthorDate: 2025-07-03 08:51:43 +0000 Commit: Kristof Provost <k...@freebsd.org> CommitDate: 2025-07-07 15:06:52 +0000 pfctl: Add parentheses for readability Prompted by and OK deraadt Obtained from: OpenBSD, kn <k...@openbsd.org>, ff93619fa5 Sponsored by: Rubicon Communications, LLC ("Netgate") --- sbin/pfctl/pfctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbin/pfctl/pfctl.c b/sbin/pfctl/pfctl.c index 8c20c8250ed1..738c89069383 100644 --- a/sbin/pfctl/pfctl.c +++ b/sbin/pfctl/pfctl.c @@ -3145,7 +3145,7 @@ main(int argc, char *argv[]) if ((opts & PF_OPT_NODNS) && (opts & PF_OPT_USEDNS)) errx(1, "-N and -r are mutually exclusive"); - if (tblcmdopt == NULL ^ tableopt == NULL) + if ((tblcmdopt == NULL) ^ (tableopt == NULL)) usage(); if (tblcmdopt != NULL) {