]> git.ipfire.org Git - thirdparty/chrony.git/commit
util: add function for IP address hashing
authorMiroslav Lichvar <mlichvar@redhat.com>
Mon, 23 Nov 2015 14:24:33 +0000 (15:24 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Mon, 30 Nov 2015 16:34:50 +0000 (17:34 +0100)
commit8b235297a596f3ddd6050994c845e2d7e22e72b2
treece11fe4bce8d484ffe7b389468176637488187a0
parent59a3140621e723d631aaf99230db3f7c52b41192
util: add function for IP address hashing

Move the hashing function from find_slot() in ntp_sources to make it
available to clientlog and improve the hashing a bit.
ntp_sources.c
util.c
util.h