From: Daniel Wagner <[email protected]>

The pool should start at 2 not 1 since this collides with
the gateway address.
---
 src/tethering.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/tethering.c b/src/tethering.c
index b135b45..04f6240 100644
--- a/src/tethering.c
+++ b/src/tethering.c
@@ -354,7 +354,7 @@ void __connman_tethering_set_enabled(void)
                return;
 
        index = connman_inet_ifindex(BRIDGE_NAME);
-       dhcp_ippool = __connman_ippool_create(index, 1, 253,
+       dhcp_ippool = __connman_ippool_create(index, 2, 253,
                                                tethering_restart, NULL);
        if (dhcp_ippool == NULL) {
                connman_error("Fail to create IP pool");
-- 
1.7.9.48.g85da4d

_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to