aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorLee Salzman <[email protected]>2013-08-18 17:20:17 +0300
committerLee Salzman <[email protected]>2013-08-18 17:20:17 +0300
commit4d7b80152b0bc3c3ca4ee16ee8e62fd9044dd95d (patch)
tree5687456cf88f747b68c414d20b05c72ea27f4650 /include
parentdc48f76192d0bf144f507c26625d2c6f4a106108 (diff)
downloadenet-4d7b80152b0bc3c3ca4ee16ee8e62fd9044dd95d.tar.gz
enet-4d7b80152b0bc3c3ca4ee16ee8e62fd9044dd95d.zip
small fix for duplicate peers
Diffstat (limited to 'include')
-rw-r--r--include/enet/enet.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/enet/enet.h b/include/enet/enet.h
index 82ec73f..8d1c2c0 100644
--- a/include/enet/enet.h
+++ b/include/enet/enet.h
@@ -386,6 +386,7 @@ typedef struct _ENetHost
ENetInterceptCallback intercept; /**< callback the user can set to intercept received raw UDP packets */
size_t connectedPeers;
size_t bandwidthLimitedPeers;
+ size_t duplicatePeers; /**< optional number of allowed peers from duplicate IPs, defaults to ENET_PROTOCOL_MAXIMUM_PEER_ID */
} ENetHost;
/**