From patchwork Tue Jan 4 19:10:20 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francois-Xavier Le Bail X-Patchwork-Id: 77515 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id E111DB70FB for ; Wed, 5 Jan 2011 06:17:25 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752131Ab1ADTRU (ORCPT ); Tue, 4 Jan 2011 14:17:20 -0500 Received: from msa02.smtpout.orange.fr ([193.252.23.211]:50919 "EHLO msa.smtpout.orange.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751650Ab1ADTRU (ORCPT ); Tue, 4 Jan 2011 14:17:20 -0500 X-Greylist: delayed 471 seconds by postgrey-1.27 at vger.kernel.org; Tue, 04 Jan 2011 14:17:19 EST Received: from [10.0.0.1] ([90.31.235.89]) by mwinf5d08 with ME id rX9P1f0081wQALA03X9PrA; Tue, 04 Jan 2011 20:09:25 +0100 Message-ID: <4D23709C.1040408@orange.fr> Date: Tue, 04 Jan 2011 20:10:20 +0100 From: Francois-Xavier Le Bail User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; fr; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: netdev@vger.kernel.org Subject: [PATCH v2] net: typos in comments in include/linux/igmp.h Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org There are typos in comments in include/linux/igmp.h: 83 #define IGMP_HOST_MEMBERSHIP_QUERY 0x11 /* From RFC1112 */ 84 #define IGMP_HOST_MEMBERSHIP_REPORT 0x12 /* Ditto */ [snip] 88 #define IGMPV2_HOST_MEMBERSHIP_REPORT 0x16 /* V2 version of 0x11 */ 89 #define IGMP_HOST_LEAVE_MESSAGE 0x17 90 #define IGMPV3_HOST_MEMBERSHIP_REPORT 0x22 /* V3 version of 0x11 */ The line 88 and 90 are about REPORT messages. The IGMP_HOST_MEMBERSHIP_REPORT (IGMP V1) value is 0x12. So the comment on line 88 must be /* V2 version of 0x12 */, and the comment on line 90 must be /* V3 version of 0x12 */. Signed-off-by: Francois-Xavier Le Bail --- -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff -ru a/include/linux/igmp.h b/include/linux/igmp.h --- a/include/linux/igmp.h 2010-08-27 01:47:12.000000000 +0200 +++ b/include/linux/igmp.h 2010-12-15 09:50:47.808363144 +0100 @@ -85,9 +85,9 @@ #define IGMP_DVMRP 0x13 /* DVMRP routing */ #define IGMP_PIM 0x14 /* PIM routing */ #define IGMP_TRACE 0x15 -#define IGMPV2_HOST_MEMBERSHIP_REPORT 0x16 /* V2 version of 0x11 */ +#define IGMPV2_HOST_MEMBERSHIP_REPORT 0x16 /* V2 version of 0x12 */ #define IGMP_HOST_LEAVE_MESSAGE 0x17 -#define IGMPV3_HOST_MEMBERSHIP_REPORT 0x22 /* V3 version of 0x11 */ +#define IGMPV3_HOST_MEMBERSHIP_REPORT 0x22 /* V3 version of 0x12 */ #define IGMP_MTRACE_RESP 0x1e #define IGMP_MTRACE 0x1f