From: Francis Dupont Date: Fri, 9 Dec 2022 15:02:02 +0000 (+0100) Subject: [#2675] Added getConnections to listener X-Git-Tag: Kea-2.3.4~92 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ebeafdf41f2a462eaeda2a38bc9eadf6e40c3590;p=thirdparty%2Fkea.git [#2675] Added getConnections to listener --- diff --git a/src/lib/tcp/tcp_listener.h b/src/lib/tcp/tcp_listener.h index c06c4ece35..d19e255923 100644 --- a/src/lib/tcp/tcp_listener.h +++ b/src/lib/tcp/tcp_listener.h @@ -94,6 +94,11 @@ public: return (idle_timeout_); } + /// @brief Returns connections. + const TcpConnectionList& getConnections() const { + return (connections_.getConnections()); + } + protected: /// @brief Creates @ref TcpConnection instance and adds it to the