From a8a0dc05cab8390cc3dc5be70955848b95055103 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Wed, 30 Aug 2017 23:28:40 +0200 Subject: [PATCH] pipe: always start API together with Web module --- src/pipe.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/pipe.c b/src/pipe.c index 215affa74..bd4f15b94 100644 --- a/src/pipe.c +++ b/src/pipe.c @@ -305,8 +305,10 @@ check: if (optarg == endptr) #ifdef WITH_WEBSOCKET /* Only start web subsystem if villas-pipe is used with a websocket node */ - if (node->_vt->start == websocket_start) + if (node->_vt->start == websocket_start) { web_start(&sn.web); + api_start(&sn.api); + } #endif if (reverse)