tethering: Fix pool size request
authorDaniel Wagner <daniel.wagner@bmw-carit.de>
Mon, 20 Feb 2012 09:00:34 +0000 (10:00 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 24 Feb 2012 22:29:48 +0000 (23:29 +0100)
Math is hard, I know.

Fixes BMC#24898

src/tethering.c

index 161e971..7fa4ef1 100644 (file)
@@ -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");