summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2017-08-28 15:37:15 +0100
committerPeter Powell <petpow@saberuk.com>2017-09-12 15:05:24 +0100
commitfb13dca410541f01db84287f2721d1e256eaf2b5 (patch)
tree53b1c9de79ba80719a7e054de455d86c27676384 /include
parent3b595d39a50e38283768bc6ec8aeb9e73071224f (diff)
Store the server endpoint as a sockaddrs in ListenSocket.
Diffstat (limited to 'include')
-rw-r--r--include/socket.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/socket.h b/include/socket.h
index 9d6c56a18..375697ea1 100644
--- a/include/socket.h
+++ b/include/socket.h
@@ -128,10 +128,7 @@ class CoreExport ListenSocket : public EventHandler
{
public:
reference<ConfigTag> bind_tag;
- std::string bind_addr;
- int bind_port;
- /** Human-readable bind description */
- std::string bind_desc;
+ const irc::sockets::sockaddrs bind_sa;
class IOHookProvRef : public dynamic_reference_nocheck<IOHookProvider>
{