summaryrefslogtreecommitdiffstats
path: root/src/channel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/channel.c')
-rw-r--r--src/channel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/channel.c b/src/channel.c
index 733fd03..255026a 100644
--- a/src/channel.c
+++ b/src/channel.c
@@ -19,10 +19,12 @@
static struct channel_ops *ops[CHANNEL_MAX];
extern struct channel_ops channel_mcast;
+extern struct channel_ops channel_udp;
void channel_init(void)
{
ops[CHANNEL_MCAST] = &channel_mcast;
+ ops[CHANNEL_UDP] = &channel_udp;
}
#define HEADERSIZ 28 /* IP header (20 bytes) + UDP header 8 (bytes) */