3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-26 09:32:34 +01:00

netconfig: Use CamelCase for IPv6 address settings

This commit is contained in:
Tim Kourt 2019-12-10 15:38:35 -08:00 committed by Denis Kenzior
parent e7db478f97
commit 2414a3ae51

View File

@ -290,9 +290,13 @@ static struct netconfig_ifaddr *netconfig_ipv6_get_ifaddr(
switch (proto) {
case RTPROT_STATIC:
ip = l_settings_get_string(netconfig->active_settings, "IPv6",
"ip");
if (!ip)
return NULL;
"Address");
if (!ip) {
ip = l_settings_get_string(netconfig->active_settings,
"IPv6", "ip");
if (!ip)
return NULL;
}
ifaddr = l_new(struct netconfig_ifaddr, 1);
ifaddr->ip = ip;