wgtpkg-install: choose the port
authorJosé Bollo <jose.bollo@iot.bzh>
Fri, 17 Mar 2017 16:03:01 +0000 (17:03 +0100)
committerJosé Bollo <jose.bollo@iot.bzh>
Fri, 17 Mar 2017 16:49:22 +0000 (17:49 +0100)
commita069be3d476bbdaa56ce4750c8868b4f0682564a
tree04bef2b66ddb212dbaa84e426f1e95b9589c7c7b
parentb6afa1aa893544b459cb767cc5a2ad8d2148228c
wgtpkg-install: choose the port

The installer now chooses a port for an installed application.

This choose is made by consulting the previously installed
applications and by getting the lowest port available in the
range 1024..32767.

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