summaryrefslogtreecommitdiffstats
path: root/sbin/pfctl
diff options
context:
space:
mode:
authorkn <kn@openbsd.org>2019-07-09 16:42:48 +0000
committerkn <kn@openbsd.org>2019-07-09 16:42:48 +0000
commitff93619fa5f16c5e110ab1ba8ff15eb7f10bbf0b (patch)
treee450d84171105b836e55bef91cdce340426ae494 /sbin/pfctl
parentrework link-connect output so that messages enqueued over the unix socket (diff)
downloadwireguard-openbsd-ff93619fa5f16c5e110ab1ba8ff15eb7f10bbf0b.tar.xz
wireguard-openbsd-ff93619fa5f16c5e110ab1ba8ff15eb7f10bbf0b.zip
Add parentheses for readability
Prompted by and OK deraadt
Diffstat (limited to 'sbin/pfctl')
-rw-r--r--sbin/pfctl/pfctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/pfctl/pfctl.c b/sbin/pfctl/pfctl.c
index 5dbf64284b2..486b818051b 100644
--- a/sbin/pfctl/pfctl.c
+++ b/sbin/pfctl/pfctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfctl.c,v 1.374 2019/06/28 13:32:45 deraadt Exp $ */
+/* $OpenBSD: pfctl.c,v 1.375 2019/07/09 16:42:48 kn Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -2439,7 +2439,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) {