wgtpkg-install: Improve port allocation 19/18419/1 6.99.2 guppy/6.99.2 guppy_6.99.2
authorJosé Bollo <jose.bollo@iot.bzh>
Thu, 29 Nov 2018 12:37:11 +0000 (13:37 +0100)
committerJosé Bollo <jose.bollo@iot.bzh>
Thu, 29 Nov 2018 12:43:03 +0000 (13:43 +0100)
commit1b1399ed154f68d90665db122073c18d60b2c685
treed4cbf6db5783fac10afaf81794da3e5792cf2ed2
parentda4db4facb319522df538327fdad866a0f149e15
wgtpkg-install: Improve port allocation

The algorithm that allocates ports is improved
by:

 - allocating ports in the range 31000...32759
 - avoiding systematic rescan

Change-Id: I72771cf3f361f4977edc7b59c75921e71f5b470b
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
src/wgtpkg-install.c