summaryrefslogtreecommitdiff
path: root/src/network.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/network.h')
-rw-r--r--src/network.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network.h b/src/network.h
index b1ecf86..a59a1bc 100644
--- a/src/network.h
+++ b/src/network.h
@@ -147,6 +147,7 @@ struct Server::Priv
void doListen();
void doAnnounce();
+ bool isSelfAddress(const sockaddr_in & paddr);
Peer & getPeer(const sockaddr_in & paddr);
void handlePacket(Peer &, const TransportHeader &, ReplyBuilder &);
@@ -173,6 +174,7 @@ struct Server::Priv
vector<weak_ptr<WaitingRef>> waiting;
int sock;
+ vector<in_addr> localAddresses;
vector<in_addr> bcastAddresses;
// Start destruction with finalizing services