From patchwork Mon Mar 21 20:28:44 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Poirier X-Patchwork-Id: 600307 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 3qTS8t01C8z9s3v for ; Tue, 22 Mar 2016 07:29:02 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757650AbcCUU27 (ORCPT ); Mon, 21 Mar 2016 16:28:59 -0400 Received: from mx2.suse.de ([195.135.220.15]:33831 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753736AbcCUU26 (ORCPT ); Mon, 21 Mar 2016 16:28:58 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 8175EAC05; Mon, 21 Mar 2016 20:28:56 +0000 (UTC) From: Benjamin Poirier To: mtk.manpages@gmail.com Cc: linux-man@vger.kernel.org, netdev@vger.kernel.org, Radek Pazdera Subject: [PATCH] ip.7: Fix incorrect sockopt name Date: Mon, 21 Mar 2016 13:28:44 -0700 Message-Id: <1458592124-6208-1-git-send-email-bpoirier@suse.com> X-Mailer: git-send-email 2.7.2 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org "IP_LEAVE_GROUP" does not exist. It was perhaps a confusion with MCAST_LEAVE_GROUP. Change the text to IP_DROP_MEMBERSHIP which has the same function as MCAST_LEAVE_GROUP and is documented in the ip.7 man page. Reference: Linux kernel net/ipv4/ip_sockglue.c do_ip_setsockopt() Cc: Radek Pazdera Signed-off-by: Benjamin Poirier --- man7/ip.7 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man7/ip.7 b/man7/ip.7 index 3905573..37e2c86 100644 --- a/man7/ip.7 +++ b/man7/ip.7 @@ -376,7 +376,7 @@ a given multicast group that come from a given source. If the application has subscribed to multiple sources within the same group, data from the remaining sources will still be delivered. To stop receiving data from all sources at once, use -.BR IP_LEAVE_GROUP . +.BR IP_DROP_MEMBERSHIP . .IP Argument is an .I ip_mreq_source