[PATCH 2/2] tethering: Fix pool size request

Daniel Wagner wagi at monom.org
Mon Feb 20 01:00:34 PST 2012


From: Daniel Wagner <daniel.wagner at bmw-carit.de>

Math is hard, I know.

Fixes BMC#24898
---
 src/tethering.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/tethering.c b/src/tethering.c
index 161e971..7fa4ef1 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, 2, 253,
+	dhcp_ippool = __connman_ippool_create(index, 2, 252,
 						tethering_restart, NULL);
 	if (dhcp_ippool == NULL) {
 		connman_error("Fail to create IP pool");
-- 
1.7.9.48.g85da4d




More information about the connman mailing list