chiark / gitweb /
in-addr-util: add new helper call in_addr_prefix_from_string_auto()
authorLennart Poettering <lennart@poettering.net>
Fri, 1 Sep 2017 12:25:59 +0000 (14:25 +0200)
committerSven Eden <yamakuzure@gmx.net>
Mon, 20 Nov 2017 16:10:25 +0000 (17:10 +0100)
commit294d3039be600ee7fbe43222fcf7084c99e63b94
treef20da6748bf914d60dfb1cc30a03a1fa132875d5
parent31a88b7046d1d9040018e3e6d6fc71aac22192f3
in-addr-util: add new helper call in_addr_prefix_from_string_auto()

This is much like in_addr_prefix_from_string(), but automatically
determines whether IPv4 or IPv6 addresses are specified. Also adds a
test for it.
src/test/meson.build