Make SO_BINTIME timestamps available on raw_ip sockets.

Sponsored by:	TCP/IP Optimization Fundraise 2005
This commit is contained in:
Andre Oppermann 2005-10-04 18:07:11 +00:00
parent 7723d5ed12
commit e5fbf72cd8

View File

@ -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,