diff options
author | andre <andre@FreeBSD.org> | 2005-10-04 18:07:11 +0000 |
---|---|---|
committer | andre <andre@FreeBSD.org> | 2005-10-04 18:07:11 +0000 |
commit | 71bc671ea0021ec3bb1a3147bcba49b1745d0914 (patch) | |
tree | 4e6afb7f3d68fe2f8db121737bb72c1bcbdf32c0 /sys/netinet | |
parent | 540563ab582bc0f804ccd1c410799c5f4882ba99 (diff) | |
download | FreeBSD-src-71bc671ea0021ec3bb1a3147bcba49b1745d0914.zip FreeBSD-src-71bc671ea0021ec3bb1a3147bcba49b1745d0914.tar.gz |
Make SO_BINTIME timestamps available on raw_ip sockets.
Sponsored by: TCP/IP Optimization Fundraise 2005
Diffstat (limited to 'sys/netinet')
-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 bc250a4..2399c71 100644 --- a/sys/netinet/raw_ip.c +++ b/sys/netinet/raw_ip.c @@ -166,7 +166,7 @@ raw_append(struct inpcb *last, struct ip *ip, struct mbuf *n) so = last->inp_socket; if ((last->inp_flags & INP_CONTROLOPTS) || - (so->so_options & SO_TIMESTAMP)) + (so->so_options & SO_TIMESTAMP | SO_BINTIME)) ip_savecontrol(last, &opts, ip, n); SOCKBUF_LOCK(&so->so_rcv); if (sbappendaddr_locked(&so->so_rcv, |