diff options
author | Eivind Eklund <eivind@FreeBSD.org> | 1999-12-21 11:14:12 +0000 |
---|---|---|
committer | Eivind Eklund <eivind@FreeBSD.org> | 1999-12-21 11:14:12 +0000 |
commit | 369dc8ceb8c9e6db02bee508b6483327dd1995a9 (patch) | |
tree | b06e31ce7f7894dd7f434036bfa49ea3d8f7ede3 /sys/netinet6/ip6_output.c | |
parent | faf052a79e4f457632b0d2cf6fc3c2fd74deec7e (diff) | |
download | src-369dc8ceb8c9e6db02bee508b6483327dd1995a9.tar.gz src-369dc8ceb8c9e6db02bee508b6483327dd1995a9.zip |
Change incorrect NULLs to 0s
Notes
Notes:
svn path=/head/; revision=54952
Diffstat (limited to 'sys/netinet6/ip6_output.c')
-rw-r--r-- | sys/netinet6/ip6_output.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet6/ip6_output.c b/sys/netinet6/ip6_output.c index b86f0fe0acfa..c5876f95e2a4 100644 --- a/sys/netinet6/ip6_output.c +++ b/sys/netinet6/ip6_output.c @@ -1161,10 +1161,10 @@ ip6_ctloutput(so, sopt) struct mbuf *m; error = soopt_getm(sopt, &m); /* XXX */ - if (error != NULL) + if (error != 0) break; error = soopt_mcopyin(sopt, m); /* XXX */ - if (error != NULL) + if (error != 0) break; return (ip6_pcbopts(&in6p->in6p_outputopts, m, so, sopt)); @@ -2100,7 +2100,7 @@ ip6_mloopback(ifp, m, dst) copym = m_copy(m, 0, M_COPYALL); if (copym != NULL) { - (void)if_simloop(ifp, copym, (struct sockaddr *)dst, NULL); + (void)if_simloop(ifp, copym, (struct sockaddr *)dst, 0); } } |