afb-daemon: Fix optionnal port 38/23338/1
authorJosé Bollo <jose.bollo@iot.bzh>
Thu, 12 Dec 2019 13:37:52 +0000 (14:37 +0100)
committerJosé Bollo <jose.bollo@iot.bzh>
Thu, 12 Dec 2019 13:37:52 +0000 (14:37 +0100)
commit6422dd2e6bee2903690fe430b0e7a666179ec163
treec1c7100388ca43696193f3e951b0f876de90919f
parent82a9d796219de863253b96340bb03c4506c8c676
afb-daemon: Fix optionnal port

Since:
 - introduction of interface to set the
   listening port(s) and address(es)
 - use of nss-localuser for discriminating
   binders

there is no more strict need for exporting
the port and substituting it. So the
substitution is make only if needed.

Since removal of token generation, there is no
more need to propoagate any token.

The two possibilities are kept for being used
whene needed and to ensure sweet transition.

Bug-AGL: SPEC-2968

Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Change-Id: I1d2b4d765f244e46de3071baddd8b3d0817b9436
src/main-afb-daemon.c