summaryrefslogtreecommitdiffstats
path: root/sys/netinet/udp_usrreq.c
diff options
context:
space:
mode:
authoreivind <eivind@FreeBSD.org>1999-12-21 11:14:12 +0000
committereivind <eivind@FreeBSD.org>1999-12-21 11:14:12 +0000
commit8befc1a2b84269c73c5f4bb55d5961c9c1e64866 (patch)
treeaa42526cc605d366c46f08ae42d166e1905b2fe7 /sys/netinet/udp_usrreq.c
parentd6a0d6a22e9b0ac0457c1471bc84b9240b8b5242 (diff)
downloadFreeBSD-src-8befc1a2b84269c73c5f4bb55d5961c9c1e64866.zip
FreeBSD-src-8befc1a2b84269c73c5f4bb55d5961c9c1e64866.tar.gz
Change incorrect NULLs to 0s
Diffstat (limited to 'sys/netinet/udp_usrreq.c')
-rw-r--r--sys/netinet/udp_usrreq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c
index 03e0ab7..bc854de 100644
--- a/sys/netinet/udp_usrreq.c
+++ b/sys/netinet/udp_usrreq.c
@@ -251,7 +251,7 @@ udp_input(m, off, proto)
#endif
LIST_FOREACH(inp, &udb, inp_list) {
#ifdef INET6
- if ((inp->inp_vflag & INP_IPV4) == NULL)
+ if ((inp->inp_vflag & INP_IPV4) == 0)
continue;
#endif
if (inp->inp_lport != uh->uh_dport)
OpenPOWER on IntegriCloud