Re: [PATCH 3/5] peer: Run dhcp server when peer is supposed to be the connection master

2014-07-17 Thread Tomasz Bursztyka
Hi Jukka, + peer-ip_pool = __connman_ippool_create(index, 2, 1, NULL, NULL); Do we only support one address (==one client) here? True. Currently it supports only one. In fact: if you call Connect() from DBus, it checks all the peers from same device. If one is connecting/connected:

[PATCH 3/5] peer: Run dhcp server when peer is supposed to be the connection master

2014-07-16 Thread Tomasz Bursztyka
This will finally handle the default case when our local device ends up as the P2P group owner and thus needs to be the dhcp server as well. --- src/peer.c | 145 - 1 file changed, 134 insertions(+), 11 deletions(-) diff --git

Re: [PATCH 3/5] peer: Run dhcp server when peer is supposed to be the connection master

2014-07-16 Thread Jukka Rissanen
Hi Tomasz, On ke, 2014-07-16 at 16:17 +0300, Tomasz Bursztyka wrote: This will finally handle the default case when our local device ends up as the P2P group owner and thus needs to be the dhcp server as well. --- src/peer.c | 145