mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 06:29:23 +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;
|
||||
|
||||
break;
|
||||
case AF_INET6:
|
||||
if (inet_pton(AF_INET6, dns, buf) < 1)
|
||||
return false;
|
||||
|
||||
buf_size = 16;
|
||||
|
||||
break;
|
||||
default:
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user