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)
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

index 090d0787d981193c5f2b67e8cf6143669cae6b0e..e39ab46e8b84eea0b6e2e15d492487294ed100c3 100644 (file)
@@ -304,6 +304,10 @@ tests += [
 #          [],
 #          []],
 #
+#         [['src/test/test-in-addr-util.c'],
+#          [],
+#          []],
+#
 #         [['src/test/test-tmpfiles.c'],
 #          [],
 #          []],