]> sjero.net Git - dccp2tcp/blobdiff - dccp2tcp.h
Multiple connection support segfault fixes
[dccp2tcp] / dccp2tcp.h
index 4b556cfcc979eb9ca39dff29b42cc71f803094e6..2a1dbfa18458f2f8c71a3db423b07e975fb88cd3 100644 (file)
@@ -119,7 +119,7 @@ void dbgprintf(int level, const char *fmt, ...);
 int do_encap(int link, struct packet *new, const struct const_packet *old);
 
 /*Connection functions*/
-int get_host(uint32_t src_id, uint32_t dest_id, int src_port, int dest_port, struct host *fwd, struct host *rev);
+int get_host(uint32_t src_id, uint32_t dest_id, int src_port, int dest_port, struct host **fwd, struct host **rev);
 struct connection *add_connection(uint32_t src_id, uint32_t dest_id, int src_port, int dest_port);
 int update_state(struct host* hst, enum con_state st);