From a374acb499184e032eec814d92309da32b31d048 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Mon, 21 Jan 2019 22:11:44 +0100 Subject: [PATCH] pipe: start/stop interfaces --- src/villas-pipe.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/villas-pipe.cpp b/src/villas-pipe.cpp index 47478d0f7..27c46e4e3 100644 --- a/src/villas-pipe.cpp +++ b/src/villas-pipe.cpp @@ -391,6 +391,8 @@ check: if (optarg == endptr) if (ret) throw RuntimeError("Failed to start node {}: reason={}", node_name(node), ret); + sn.startInterfaces(); + /* Start threads */ Directions dirs = { .send = Direction(node, &io, enable_send, limit_send), @@ -430,6 +432,8 @@ check: if (optarg == endptr) if (ret) throw RuntimeError("Failed to stop node type {}: reason={}", node_type_name(node->_vt), ret); + sn.stopInterfaces(); + ret = io_close(&io); if (ret) throw RuntimeError("Failed to close IO");