aboutsummaryrefslogtreecommitdiff
path: root/src/udp6.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/udp6.c')
-rw-r--r--src/udp6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udp6.c b/src/udp6.c
index efeac5c..effdf77 100644
--- a/src/udp6.c
+++ b/src/udp6.c
@@ -95,7 +95,7 @@ void udp6_input(struct mbuf *m)
if (so == NULL) {
/* If there's no socket for this packet, create one. */
- so = socreate(slirp);
+ so = socreate(slirp, IPPROTO_UDP);
if (udp_attach(so, AF_INET6) == -1) {
DEBUG_MISC(" udp6_attach errno = %d-%s", errno, strerror(errno));
sofree(so);