mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 23:09:34 +01:00
resolve: Add IPv6 handler for systemd msg appender
This commit is contained in:
parent
8168b22233
commit
3aa336cb2a
@ -96,6 +96,13 @@ static bool systemd_builder_add_dns(struct l_dbus_message_builder *builder,
|
|||||||
|
|
||||||
buf_size = 4;
|
buf_size = 4;
|
||||||
|
|
||||||
|
break;
|
||||||
|
case AF_INET6:
|
||||||
|
if (inet_pton(AF_INET6, dns, buf) < 1)
|
||||||
|
return false;
|
||||||
|
|
||||||
|
buf_size = 16;
|
||||||
|
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user