]> git.ipfire.org Git - location/libloc.git/commit
network: Store the first and last address of each network
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 18 Sep 2020 13:20:21 +0000 (13:20 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 18 Sep 2020 13:20:21 +0000 (13:20 +0000)
commitb43edb61c172dfa1889df28c842eeee994bac455
treeed265ce519a4c08a336c438771fb235da952de39
parentce4f57528eb3ef4b7d6b30895535e415cb177c2b
network: Store the first and last address of each network

This avoids recomputing the last address multiple times.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/network.c