NULL is not zero.
Submitted by: Keiichi SHIMA <keiichi__at__iijlab.net> Obtained from: KAME
This commit is contained in:
parent
c649c6900b
commit
8507acb169
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=148241
@ -3005,7 +3005,7 @@ ip6_setpktoptions(control, opt, stickyopt, priv, needcopy, uproto)
|
||||
{
|
||||
struct cmsghdr *cm = 0;
|
||||
|
||||
if (control == 0 || opt == 0)
|
||||
if (control == NULL || opt == NULL)
|
||||
return (EINVAL);
|
||||
|
||||
if (stickyopt) {
|
||||
|
Loading…
Reference in New Issue
Block a user