main-afb-daemon: manage listening interfaces 69/23169/1 8.99.2 8.99.3 icefish/8.99.2 icefish/8.99.3 icefish_8.99.2 icefish_8.99.3
authorJose Bollo <jose.bollo@iot.bzh>
Mon, 2 Dec 2019 23:12:31 +0000 (00:12 +0100)
committerJosé Bollo <jose.bollo@iot.bzh>
Tue, 3 Dec 2019 17:51:51 +0000 (18:51 +0100)
commit82a9d796219de863253b96340bb03c4506c8c676
tree79fb62db3e532fefa58dd8e4fcacdf14a808668f
parent7a28ebbeb8af7bf37d46fc1158a203790f1ddcc7
main-afb-daemon: manage listening interfaces

This change allows to specify interfaces to serve
explicitely.

By default the option --port=PORT lead to serving
interface of specification "tcp:*:PORT". Meaning
that all interfaces are listened.

This is intended to be used with localuser family
of hostnames.

Bug-AGL: SPEC-2968

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