From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 57971 invoked by alias); 3 May 2017 19:42:52 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 57957 invoked by uid 89); 3 May 2017 19:42:51 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-23.4 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=phil, Phil, swaps, U*pb X-HELO: hetzner.pbcl.net Message-ID: <1493840562.4543.47.camel@pbcl.net> Subject: Fix wrong comments in struct ip_mreq_source From: Phil Blundell To: GNU C Library Date: Wed, 03 May 2017 19:42:00 -0000 Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-SW-Source: 2017-05/txt/msg00071.txt.bz2 The member names in this struct are fairly self-explanatory, but were contradicted by the comments.  This patch swaps the comments around so that they match. I verified that the order of the elements does match the corresponding uapi header from the Linux kernel. OK to commit?  (I wasn't quite sure whether this was obvious enough to count as a "trivial fix".) p. 2017-05-03  Phil Blundell           * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced         comments. diff --git a/inet/netinet/in.h b/inet/netinet/in.h index 365bc6878e..e064188721 100644 --- a/inet/netinet/in.h +++ b/inet/netinet/in.h @@ -275,10 +275,10 @@ struct ip_mreq_source      /* IP multicast address of group.  */      struct in_addr imr_multiaddr;   -    /* IP address of source.  */ +    /* IP address of interface.  */      struct in_addr imr_interface;   -    /* IP address of interface.  */ +    /* IP address of source.  */      struct in_addr imr_sourceaddr;    };  #endif