mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-26 02:19:26 +01:00
netconfig: Use CamelCase for IPv6 gateway setting
This commit is contained in:
parent
2414a3ae51
commit
ac9c87d012
@ -351,6 +351,10 @@ static char *netconfig_ipv6_get_gateway(struct netconfig *netconfig)
|
||||
switch (netconfig->rtm_v6_protocol) {
|
||||
case RTPROT_STATIC:
|
||||
gateway = l_settings_get_string(netconfig->active_settings,
|
||||
"IPv6", "Gateway");
|
||||
if (!gateway)
|
||||
gateway = l_settings_get_string(
|
||||
netconfig->active_settings,
|
||||
"IPv6", "gateway");
|
||||
|
||||
if (inet_pton(AF_INET6, gateway, &in6_addr) < 1) {
|
||||
|
Loading…
Reference in New Issue
Block a user