summaryrefslogtreecommitdiffstats
path: root/src/channel_tcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/channel_tcp.c')
-rw-r--r--src/channel_tcp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/channel_tcp.c b/src/channel_tcp.c
index f132840..a84603c 100644
--- a/src/channel_tcp.c
+++ b/src/channel_tcp.c
@@ -137,6 +137,7 @@ channel_tcp_accept(struct channel *c)
struct channel_ops channel_tcp = {
.headersiz = 40, /* IP header (20 bytes) + TCP header 20 (bytes) */
+ .type = CHANNEL_T_STREAM,
.open = channel_tcp_open,
.close = channel_tcp_close,
.send = channel_tcp_send,