mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
connman: add patch to disable ipv6 by default
This commit is contained in:
parent
c51b361628
commit
53c270da57
@ -0,0 +1,22 @@
|
|||||||
|
commit 7b130774c0a0a31879218eedb680ed732a1ee94a
|
||||||
|
Author: Stefan Saraev <stefan@saraev.ca>
|
||||||
|
Date: Thu Jul 4 22:43:17 2013 +0300
|
||||||
|
|
||||||
|
ipv6 disabled by default
|
||||||
|
|
||||||
|
diff --git a/src/ipconfig.c b/src/ipconfig.c
|
||||||
|
index a97a6f3..2b43935 100644
|
||||||
|
--- a/src/ipconfig.c
|
||||||
|
+++ b/src/ipconfig.c
|
||||||
|
@@ -1118,10 +1118,7 @@ static struct connman_ipconfig *create_ipv6config(int index)
|
||||||
|
ipv6config->enabled = FALSE;
|
||||||
|
ipv6config->type = CONNMAN_IPCONFIG_TYPE_IPV6;
|
||||||
|
|
||||||
|
- if (is_ipv6_supported == FALSE)
|
||||||
|
- ipv6config->method = CONNMAN_IPCONFIG_METHOD_OFF;
|
||||||
|
- else
|
||||||
|
- ipv6config->method = CONNMAN_IPCONFIG_METHOD_AUTO;
|
||||||
|
+ ipv6config->method = CONNMAN_IPCONFIG_METHOD_OFF;
|
||||||
|
|
||||||
|
ipdevice = g_hash_table_lookup(ipdevice_hash, GINT_TO_POINTER(index));
|
||||||
|
if (ipdevice != NULL)
|
Loading…
x
Reference in New Issue
Block a user