diff options
author | Coren[m] <Break@Ocean> | 2013-09-09 14:16:40 +0200 |
---|---|---|
committer | Coren[m] <Break@Ocean> | 2013-09-09 14:16:40 +0200 |
commit | 29d777ef67bc964229722db073a2abdd1eb737b6 (patch) | |
tree | aaa91593de5c47199d1124456266e7da4483e2ad /testing/DHT_test.c | |
parent | a128e3ff8f09250757ed4ed73fcc088cb5fd15ee (diff) |
network.h:
- IP: add in_addr_t as part of the union
- IP: rename IP to IP4
Diffstat (limited to 'testing/DHT_test.c')
-rw-r--r-- | testing/DHT_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/DHT_test.c b/testing/DHT_test.c index fce9c257..a7349a65 100644 --- a/testing/DHT_test.c +++ b/testing/DHT_test.c | |||
@@ -141,7 +141,7 @@ int main(int argc, char *argv[]) | |||
141 | //memcpy(self_client_id, "qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq", 32); | 141 | //memcpy(self_client_id, "qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq", 32); |
142 | /* initialize networking */ | 142 | /* initialize networking */ |
143 | /* bind to ip 0.0.0.0:PORT */ | 143 | /* bind to ip 0.0.0.0:PORT */ |
144 | IP ip; | 144 | IP4 ip; |
145 | ip.uint32 = 0; | 145 | ip.uint32 = 0; |
146 | 146 | ||
147 | DHT *dht = new_DHT(new_net_crypto(new_networking(ip, PORT))); | 147 | DHT *dht = new_DHT(new_net_crypto(new_networking(ip, PORT))); |