decrease warning

Obtained from:	KAME
MFC after:	10 days
This commit is contained in:
Hajimu UMEMOTO 2001-06-24 14:57:20 +00:00
parent 99fe1b3717
commit 3e617560d9

View File

@ -1504,9 +1504,11 @@ do { \
if (ip6_fw_ctl_ptr == NULL)
return EINVAL;
if (error = soopt_getm(sopt, &m)) /* XXX */
/* XXX */
if ((error = soopt_getm(sopt, &m)) != 0)
break;
if (error = soopt_mcopyin(sopt, m)) /* XXX */
/* XXX */
if ((error = soopt_mcopyin(sopt, m)) != 0)
break;
error = (*ip6_fw_ctl_ptr)(optname, mp);
m = *mp;