]> git.ipfire.org Git - location/libloc.git/commit
address: Simplify functions
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 7 Mar 2022 15:23:34 +0000 (15:23 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 7 Mar 2022 15:23:34 +0000 (15:23 +0000)
commit8bcd07128a8313501aacfa9a2c54bcfe85755744
tree6487548b6478dfe55eb00a92ba3d4cbc0494c470
parent8332f92a0bf96782ccbed871f45a45dadbb67dc7
address: Simplify functions

This patch improves looping through the octets of an IP address and
avoids that we will read anything that isn't for us.

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