]> git.ipfire.org Git - people/stevee/network.git/commit
inetcalc: Allow build on 64 bit architectures
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 21 Oct 2015 16:42:06 +0000 (18:42 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 21 Oct 2015 16:42:06 +0000 (18:42 +0200)
commitcf3fb03ccc299b1233fa1a3cc4ce66520c324e70
treef421d78fe5a127bd7723429107d00fa7cfe7f6d6
parented2b1a75f64abb6916f6f9307b2d92852a988a0e
inetcalc: Allow build on 64 bit architectures

inetcalc previously used a GCC extension that was only
available on 64 bit platforms. This patch changes the
code to use struct in6_addr instead of __uint128_t for
storing IP addresses.

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