relayd: track relayd control connection sockets
[lttng-tools.git] / src / bin / lttng-relayd / main.c
index 4410f4b6997bea79f0a753e9aaf119198eb34fd6..00292a02d6545db9d5b94cb4e08939e9b739a723 100644 (file)
@@ -1181,9 +1181,8 @@ restart:
                                } else {
                                        assert(pollfd == control_sock->fd);
                                        type = RELAY_CONTROL;
-                                       newsock = control_sock->ops->accept(control_sock);
-                                       DBG("Relay control connection accepted, socket %d",
-                                                       newsock->fd);
+                                       newsock = accept_relayd_sock(control_sock,
+                                                       "Control socket to relayd");
                                }
                                if (!newsock) {
                                        PERROR("accepting sock");
This page took 0.023666 seconds and 4 git commands to generate.