Correct brainfart in SO_BINTIME test.

Pointed out by:	nate
Pointy hat to:	andre
This commit is contained in:
Andre Oppermann 2005-10-04 18:19:21 +00:00
parent e5fbf72cd8
commit 1fd7af262a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=150941

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_BINTIME))
(so->so_options & (SO_TIMESTAMP | SO_BINTIME)))
ip_savecontrol(last, &opts, ip, n);
SOCKBUF_LOCK(&so->so_rcv);
if (sbappendaddr_locked(&so->so_rcv,