diff options
author | delphij <delphij@FreeBSD.org> | 2016-11-22 16:22:51 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2016-11-22 16:22:51 +0000 |
commit | db75d5027e10e6a41b54cb66e21f2fe7480a1618 (patch) | |
tree | cbd2aa90bc18e76606f3844a0fe1f82777b5c967 /contrib/ntp/lib/isc/netaddr.c | |
parent | 4188db2d72044b0a0307b91499f5de0f9b4d9a94 (diff) | |
download | FreeBSD-src-db75d5027e10e6a41b54cb66e21f2fe7480a1618.zip FreeBSD-src-db75d5027e10e6a41b54cb66e21f2fe7480a1618.tar.gz |
MFC r308957: MFV r308954:
ntp 4.2.8p9.
Approved by: so
Diffstat (limited to 'contrib/ntp/lib/isc/netaddr.c')
-rw-r--r-- | contrib/ntp/lib/isc/netaddr.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/contrib/ntp/lib/isc/netaddr.c b/contrib/ntp/lib/isc/netaddr.c index 9710466..01f9080 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); |