diff options
| author | Andre Oppermann <andre@FreeBSD.org> | 2006-09-06 19:04:36 +0000 |
|---|---|---|
| committer | Andre Oppermann <andre@FreeBSD.org> | 2006-09-06 19:04:36 +0000 |
| commit | 6fbfd5825fdf8dcd8f3fcd51c1f92058fa898944 (patch) | |
| tree | 627826d8a1734a4dbf7caf040655bde51f09e8c2 /sys | |
| parent | 60d4ab7abb141fe1a67764cd4ebfd478b97fdbae (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/netinet/raw_ip.c | 2 | ||||
| -rw-r--r-- | sys/netinet/udp_usrreq.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/raw_ip.c b/sys/netinet/raw_ip.c index dfe1c6831a362..070d32e140773 100644 --- a/sys/netinet/raw_ip.c +++ b/sys/netinet/raw_ip.c @@ -333,7 +333,7 @@ rip_output(struct mbuf *m, struct socket *so, u_long dst) ipstat.ips_rawout++; } - if (inp->inp_vflag & INP_ONESBCAST) + if (inp->inp_flags & INP_ONESBCAST) flags |= IP_SENDONES; #ifdef MAC diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c index 9873527a1a7ba..b1911b582815d 100644 --- a/sys/netinet/udp_usrreq.c +++ b/sys/netinet/udp_usrreq.c @@ -899,14 +899,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_vflag & INP_ONESBCAST) + if (inp->inp_flags & INP_ONESBCAST) ipflags |= IP_SENDONES; /* * Set up checksum and output datagram. */ if (udpcksum) { - if (inp->inp_vflag & INP_ONESBCAST) + if (inp->inp_flags & 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)); |
