diff options
author | 2019-07-09 16:42:48 +0000 | |
---|---|---|
committer | 2019-07-09 16:42:48 +0000 | |
commit | ff93619fa5f16c5e110ab1ba8ff15eb7f10bbf0b (patch) | |
tree | e450d84171105b836e55bef91cdce340426ae494 /sbin/pfctl | |
parent | rework link-connect output so that messages enqueued over the unix socket (diff) | |
download | wireguard-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.c | 4 |
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) { |