Date: Fri, 20 Nov 1998 18:31:14 -0800 From: Amancio Hasty <hasty@rah.star-gate.com> To: current@FreeBSD.ORG Subject: Re: warning - setsockopt MRT_DEL_MFC: Operation?? Message-ID: <199811210231.SAA00465@rah.star-gate.com> In-Reply-To: Your message of "Fri, 20 Nov 1998 13:47:18 PST." <199811202147.NAA00801@rah.star-gate.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Someone forgot a "break" in ip_mroute.c:
case MRT_ADD_MFC:
case MRT_DEL_MFC:
error = sooptcopyin(sopt, &mfc, sizeof mfc, sizeof mfc);
if (error) {
break;
}
if (sopt->sopt_name == MRT_ADD_MFC)
error = add_mfc(&mfc);
else
error = del_mfc(&mfc);
break;
^^^^^^^^^^^^ missing "break" which was causing the operation
to return EOPNOTSUPP.
Amancio
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811210231.SAA00465>
