projects
/
framework
/
connectivity
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
296cfd7
)
tethering: Fix start of IP pool
author
Daniel Wagner
<daniel.wagner@bmw-carit.de>
Mon, 6 Feb 2012 12:30:43 +0000
(13:30 +0100)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Mon, 13 Feb 2012 11:55:36 +0000
(12:55 +0100)
The pool should start at 2 not 1 since this collides with
the gateway address.
src/tethering.c
patch
|
blob
|
history
diff --git
a/src/tethering.c
b/src/tethering.c
index
4bf16d7
..
161e971
100644
(file)
--- 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");