mirror of https://git.kore.io/kore.git
Manually add cpipe to connection list in example.
This commit is contained in:
parent
02c667e940
commit
0b0ba0f6f5
|
@ -121,6 +121,8 @@ ktunnel_pipe_create(struct connection *c, const char *host, const char *port)
|
|||
}
|
||||
|
||||
cpipe = kore_connection_new(c);
|
||||
TAILQ_INSERT_TAIL(&connections, cpipe, list);
|
||||
|
||||
cpipe->fd = fd;
|
||||
cpipe->addr.ipv4 = sin;
|
||||
cpipe->read = net_read;
|
||||
|
|
Loading…
Reference in New Issue