diff options
author | rwatson <rwatson@FreeBSD.org> | 2008-07-08 10:15:23 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2008-07-08 10:15:23 +0000 |
commit | 7e3b07cdf5325dd781599f40e3e6b065a2ce0c21 (patch) | |
tree | ab5ef1716af5a5e4e07946179d227edc0e0f228e | |
parent | 699cfad712161e20881c2c5f8a1d3c62ef2436ab (diff) | |
download | FreeBSD-src-7e3b07cdf5325dd781599f40e3e6b065a2ce0c21.zip FreeBSD-src-7e3b07cdf5325dd781599f40e3e6b065a2ce0c21.tar.gz |
Use soreceive_dgram() and sosend_dgram() with UDPv6, as we do with UDPv4.
Tested by: ps
MFC after: 3 months
-rw-r--r-- | sys/netinet6/udp6_usrreq.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netinet6/udp6_usrreq.c b/sys/netinet6/udp6_usrreq.c index 4f8e993..867e13b 100644 --- a/sys/netinet6/udp6_usrreq.c +++ b/sys/netinet6/udp6_usrreq.c @@ -1015,6 +1015,8 @@ struct pr_usrreqs udp6_usrreqs = { .pru_send = udp6_send, .pru_shutdown = udp_shutdown, .pru_sockaddr = in6_mapped_sockaddr, + .pru_soreceive = soreceive_dgram, + .pru_sosend = sosend_dgram, .pru_sosetlabel = in_pcbsosetlabel, .pru_close = udp6_close }; |