0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-25 08:12:37 +01:00

ircd::net: Fix acceptor's inheritance of net::listener::error.

This commit is contained in:
Jason Volk 2019-03-13 12:04:21 -07:00
parent 71560eafd1
commit 641a5546ae
2 changed files with 4 additions and 0 deletions

View file

@ -23,6 +23,8 @@ struct ircd::net::acceptor
using callback = listener::callback;
using proffer = listener::proffer;
IRCD_EXCEPTION(listener::error, error)
static log::log log;
static conf::item<milliseconds> timeout;
static conf::item<std::string> ssl_cipher_list;

View file

@ -22,6 +22,8 @@ struct ircd::net::acceptor_udp
using datagram = listener_udp::datagram;
using flag = listener_udp::flag;
IRCD_EXCEPTION(listener_udp::error, error)
static constexpr log::log &log {acceptor::log};
static ip::udp::socket::message_flags flags(const flag &);