update(userspace/falco): change the way the grpc server is started

Co-authored-by: Lorenzo Fontana <lo@linux.com>
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
This commit is contained in:
Leonardo Di Donato 2019-09-03 10:28:21 +00:00 committed by Leo Di Donato
parent abfd6d8a1a
commit 9d9e2322a2

View File

@ -1165,7 +1165,7 @@ int falco_init(int argc, char **argv)
// grpc server // grpc server
// TODO: this is blocking now, not what we want, falco must go on. Just an experiment for now. // TODO: this is blocking now, not what we want, falco must go on. Just an experiment for now.
start_grpc_server(5060, 1); start_grpc_server("0.0.0.0:5060", 1);
if(!trace_filename.empty() && !trace_is_scap) if(!trace_filename.empty() && !trace_is_scap)
{ {