]> git.ipfire.org Git - location/libloc.git/commit
Refactor compating IP addresses
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 30 Jan 2018 23:28:21 +0000 (23:28 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 30 Jan 2018 23:28:21 +0000 (23:28 +0000)
commite14564aa73ca484094414db249b77dea80c800ed
tree380e4d49e52dc78b7370ce30a9934d01b77bc754
parente85e2b0b5cd4bc20a7c3479a6d245eddba4d31e2
Refactor compating IP addresses

memcmp does not seem to be the best choice here.

This function is a naive implementation
but does the job very well.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/loc/private.h