diff options
author | Simon Kelley <simon@thekelleys.org.uk> | 2021-09-20 19:44:56 +0100 |
---|---|---|
committer | Simon Kelley <simon@thekelleys.org.uk> | 2021-09-20 19:44:56 +0100 |
commit | 8312a3ba4f06141647e86a2c5c4ccfb2e32582ab (patch) | |
tree | ae7164ded3207a1a3d0067f4fb9310387ce2c6fe | |
parent | 35f93081dc9a52e64ac3b7196ad1f5c1106f8932 (diff) | |
download | dnsmasq-8312a3ba4f06141647e86a2c5c4ccfb2e32582ab.tar.gz |
Thinko in immediately previous commit.
-rw-r--r-- | src/option.c | 2 |
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++) |