]> git.ipfire.org Git - people/ms/libloc.git/commit - src/network.c
network: Pass prefix in native length
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 7 Mar 2022 12:22:14 +0000 (12:22 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 7 Mar 2022 12:22:14 +0000 (12:22 +0000)
commit1fd09d0b09756649968fec42c737c88b92e4f11f
tree84532dcf9c144991b55a2e3fd775d26d22f6291f
parent5b72642c78d1a353ff23d254c5f9ed272e37e96b
network: Pass prefix in native length

When creating an IPv4 subnet, the prefix had to be mapped to the mapped
syntax (i.e. add 96). This doesn't seem too intuitive to me.

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