diff options
author | delphij <delphij@FreeBSD.org> | 2016-11-22 16:23:20 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2016-11-22 16:23:20 +0000 |
commit | ae8e146bd5a44ecee88074684cfb450384368980 (patch) | |
tree | af28bb1df5dfc4db715504776563b8d582137ffd /contrib/ntp/lib/isc/netaddr.c | |
parent | 6f642ec61a589dd95f389820661c1a6c5fd64971 (diff) | |
download | FreeBSD-src-ae8e146bd5a44ecee88074684cfb450384368980.zip FreeBSD-src-ae8e146bd5a44ecee88074684cfb450384368980.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); |