diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-04-24 22:19:50 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-04-24 22:25:41 +0200 |
commit | 4ea57586f53dad8e567d2072c5567b92e8902d8c (patch) | |
tree | 6f0812a3b61b3b7ebdaa8d2355bf30ca5b13c384 /src/fastd.h | |
parent | e4e4f007e87b250d327eb222f1e44af2ffe47774 (diff) | |
download | fastd-4ea57586f53dad8e567d2072c5567b92e8902d8c.tar fastd-4ea57586f53dad8e567d2072c5567b92e8902d8c.zip |
Add a sequential number to identify peers
Diffstat (limited to 'src/fastd.h')
-rw-r--r-- | src/fastd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fastd.h b/src/fastd.h index 4119a06..328666c 100644 --- a/src/fastd.h +++ b/src/fastd.h @@ -236,6 +236,7 @@ struct fastd_context { fastd_peer_group_t *peer_group; + uint64_t next_peer_id; VECTOR(fastd_peer_t*) peers; #ifdef USE_EPOLL |