summaryrefslogtreecommitdiffstats
path: root/sys/netinet
diff options
context:
space:
mode:
authorandre <andre@FreeBSD.org>2005-10-04 18:19:21 +0000
committerandre <andre@FreeBSD.org>2005-10-04 18:19:21 +0000
commit7990daf71562eb9334ae9f8d5d7e2c864c614eab (patch)
tree58e051487c7dbdaf709ce48fd4991121edfd783f /sys/netinet
parent71bc671ea0021ec3bb1a3147bcba49b1745d0914 (diff)
downloadFreeBSD-src-7990daf71562eb9334ae9f8d5d7e2c864c614eab.zip
FreeBSD-src-7990daf71562eb9334ae9f8d5d7e2c864c614eab.tar.gz
Correct brainfart in SO_BINTIME test.
Pointed out by: nate Pointy hat to: andre
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/raw_ip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/raw_ip.c b/sys/netinet/raw_ip.c
index 2399c71..fa14b8c 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_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,
OpenPOWER on IntegriCloud