summaryrefslogtreecommitdiff
path: root/src/tethering.c
diff options
context:
space:
mode:
authorDaniel Wagner <daniel.wagner@bmw-carit.de>2012-02-06 13:30:43 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2012-02-13 12:55:36 +0100
commitd62a11b1575d6991f666b62b5201d7b0104aa9a2 (patch)
tree6619a6f855db0b2cc4f4da2d1264e84011dd37c7 /src/tethering.c
parent296cfd7364efd8c32fbbedf0465a111c2d2bc74e (diff)
downloadconnman-d62a11b1575d6991f666b62b5201d7b0104aa9a2.tar.gz
connman-d62a11b1575d6991f666b62b5201d7b0104aa9a2.tar.bz2
connman-d62a11b1575d6991f666b62b5201d7b0104aa9a2.zip
tethering: Fix start of IP pool
The pool should start at 2 not 1 since this collides with the gateway address.
Diffstat (limited to 'src/tethering.c')
-rw-r--r--src/tethering.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tethering.c b/src/tethering.c
index 4bf16d78..161e9712 100644
--- a/src/tethering.c
+++ b/src/tethering.c
@@ -194,7 +194,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");