diff options
author | andre <andre@FreeBSD.org> | 2006-09-06 19:04:36 +0000 |
---|---|---|
committer | andre <andre@FreeBSD.org> | 2006-09-06 19:04:36 +0000 |
commit | b095262f189d46a0e46843ff01c0f2049119811f (patch) | |
tree | 627826d8a1734a4dbf7caf040655bde51f09e8c2 /sys/netinet/raw_ip.c | |
parent | ae5965062b9bbb95c18a0e4e157f2a1c1247263f (diff) | |
download | FreeBSD-src-b095262f189d46a0e46843ff01c0f2049119811f.zip FreeBSD-src-b095262f189d46a0e46843ff01c0f2049119811f.tar.gz |
Check inp_flags instead of inp_vflag for INP_ONESBCAST flag.
PR: kern/99558
Tested by: Andrey V. Elsukov <bu7cher-at-yandex.ru>
Sponsored by: TCP/IP Optimization Fundraise 2005
MFC after: 3 days
Diffstat (limited to 'sys/netinet/raw_ip.c')
-rw-r--r-- | sys/netinet/raw_ip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/raw_ip.c b/sys/netinet/raw_ip.c index dfe1c68..070d32e 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 |