diff options
author | andre <andre@FreeBSD.org> | 2005-10-04 18:19:21 +0000 |
---|---|---|
committer | andre <andre@FreeBSD.org> | 2005-10-04 18:19:21 +0000 |
commit | 7990daf71562eb9334ae9f8d5d7e2c864c614eab (patch) | |
tree | 58e051487c7dbdaf709ce48fd4991121edfd783f /sys/netinet/raw_ip.c | |
parent | 71bc671ea0021ec3bb1a3147bcba49b1745d0914 (diff) | |
download | FreeBSD-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/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 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, |