]> git.ipfire.org Git - people/ms/network.git/commit - src/inetcalc.c
inetcalc: Add subset check
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 31 May 2017 17:27:02 +0000 (19:27 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 31 May 2017 17:46:35 +0000 (19:46 +0200)
commit9e24482619e2a26f0474fdd53dd8fe8709c9b969
treef8576cb1dbc10985055e8ad8d18dbc5892d667a1
parent9d58a3bffb53fda1cf1a966b549db86abf74b3f8
inetcalc: Add subset check

Takes two subnets and returns true if the first subnet
is a subset or equal to the second subnet.

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