From owner-freebsd-current Fri Nov 20 18:31:45 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA27158 for freebsd-current-outgoing; Fri, 20 Nov 1998 18:31:45 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from rah.star-gate.com (sj-dsl-9-129-138.dspeed.net [209.249.129.138]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA27153 for ; Fri, 20 Nov 1998 18:31:44 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.9.1/8.8.8) with ESMTP id SAA00465 for ; Fri, 20 Nov 1998 18:31:14 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Message-Id: <199811210231.SAA00465@rah.star-gate.com> X-Mailer: exmh version 2.0.2 2/24/98 To: current@FreeBSD.ORG Subject: Re: warning - setsockopt MRT_DEL_MFC: Operation?? In-reply-to: Your message of "Fri, 20 Nov 1998 13:47:18 PST." <199811202147.NAA00801@rah.star-gate.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 20 Nov 1998 18:31:14 -0800 From: Amancio Hasty Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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