aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/ntp/lib/isc/netaddr.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ntp/lib/isc/netaddr.c')
-rw-r--r--contrib/ntp/lib/isc/netaddr.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/contrib/ntp/lib/isc/netaddr.c b/contrib/ntp/lib/isc/netaddr.c
index 9710466281c6..01f908043495 100644
--- a/contrib/ntp/lib/isc/netaddr.c
+++ b/contrib/ntp/lib/isc/netaddr.c
@@ -280,7 +280,6 @@ isc_netaddr_masktoprefixlen(const isc_netaddr_t *s, unsigned int *lenp) {
for (; i < ipbytes; i++) {
if (p[i] != 0)
return (ISC_R_MASKNONCONTIG);
- i++;
}
*lenp = nbytes * 8 + nbits;
return (ISC_R_SUCCESS);