3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-26 02:19:26 +01:00

resolve: Add IPv6 handler for systemd msg appender

This commit is contained in:
Tim Kourt 2019-10-09 16:28:32 -07:00 committed by Denis Kenzior
parent 8168b22233
commit 3aa336cb2a

View File

@ -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;