diff options
author | Maxim Konovalov <maxim@FreeBSD.org> | 2005-10-12 18:13:25 +0000 |
---|---|---|
committer | Maxim Konovalov <maxim@FreeBSD.org> | 2005-10-12 18:13:25 +0000 |
commit | d46ff6bd1ed68ac4818f975a14f708f872a8904d (patch) | |
tree | 5dc73ed7b1f7f0bf963893e80422b95e0c3bdca6 /sys/netinet/udp_usrreq.c | |
parent | 9ac16277e30b8c60ab85cc88636991c235b53e38 (diff) |
Notes
Diffstat (limited to 'sys/netinet/udp_usrreq.c')
-rw-r--r-- | sys/netinet/udp_usrreq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c index 1f53137b8ba8..ca0cdb9660a8 100644 --- a/sys/netinet/udp_usrreq.c +++ b/sys/netinet/udp_usrreq.c @@ -860,14 +860,14 @@ udp_output(inp, m, addr, control, td) ipflags |= IP_ROUTETOIF; if (inp->inp_socket->so_options & SO_BROADCAST) ipflags |= IP_ALLOWBROADCAST; - if (inp->inp_flags & INP_ONESBCAST) + if (inp->inp_vflag & INP_ONESBCAST) ipflags |= IP_SENDONES; /* * Set up checksum and output datagram. */ if (udpcksum) { - if (inp->inp_flags & INP_ONESBCAST) + if (inp->inp_vflag & INP_ONESBCAST) faddr.s_addr = INADDR_BROADCAST; ui->ui_sum = in_pseudo(ui->ui_src.s_addr, faddr.s_addr, htons((u_short)len + sizeof(struct udphdr) + IPPROTO_UDP)); |