3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-29 13:59:24 +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) { switch (proto) {
case RTPROT_STATIC: case RTPROT_STATIC:
ip = l_settings_get_string(netconfig->active_settings, "IPv6", ip = l_settings_get_string(netconfig->active_settings, "IPv6",
"ip"); "Address");
if (!ip) {
ip = l_settings_get_string(netconfig->active_settings,
"IPv6", "ip");
if (!ip) if (!ip)
return NULL; return NULL;
}
ifaddr = l_new(struct netconfig_ifaddr, 1); ifaddr = l_new(struct netconfig_ifaddr, 1);
ifaddr->ip = ip; ifaddr->ip = ip;