summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Kelley <simon@thekelleys.org.uk>2021-09-20 19:44:56 +0100
committerSimon Kelley <simon@thekelleys.org.uk>2021-09-20 19:44:56 +0100
commit8312a3ba4f06141647e86a2c5c4ccfb2e32582ab (patch)
treeae7164ded3207a1a3d0067f4fb9310387ce2c6fe
parent35f93081dc9a52e64ac3b7196ad1f5c1106f8932 (diff)
downloaddnsmasq-8312a3ba4f06141647e86a2c5c4ccfb2e32582ab.tar.gz
Thinko in immediately previous commit.
-rw-r--r--src/option.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/option.c b/src/option.c
index 6777496..e64c3ab 100644
--- a/src/option.c
+++ b/src/option.c
@@ -958,7 +958,7 @@ static char *domain_rev4(int from_file, char *server, struct in_addr *addr4, int
addrbytes = (32 - size) >> 3;
addrbits = (32 - size) & 7;
- if (size > 32 | size < 1)
+ if (size > 32 || size < 1)
return _("bad IPv4 prefix length");
for (i = 0; i < addrbytes; i++)