From 33c7d9aabadcc90ba077ce15f3f347555a637996 Mon Sep 17 00:00:00 2001 From: Jeffrey Hsu Date: Sun, 9 Jun 2002 03:57:34 +0000 Subject: [PATCH] Fix bug which has been there since rev 1.1 where && was used instead of &. --- sys/netns/spp_usrreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/netns/spp_usrreq.c b/sys/netns/spp_usrreq.c index 8a14ff039f76..a28a272c1ced 100644 --- a/sys/netns/spp_usrreq.c +++ b/sys/netns/spp_usrreq.c @@ -449,7 +449,7 @@ register struct spidp *si; } /* else queue this packet; */ } else { /*register struct socket *so = cb->s_nspcb->nsp_socket; - if (so->so_state && SS_NOFDREF) { + if (so->so_state & SS_NOFDREF) { ns_error(dtom(si), NS_ERR_NOSOCK, 0); (void)spp_close(cb); } else