aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Poirier <bpoirier@suse.com>2016-03-21 13:28:44 -0700
committerMichael Kerrisk <mtk.manpages@gmail.com>2016-03-26 08:35:18 +1300
commit5d4727859369a68cc33bcc29dddc0783d6b7edb5 (patch)
treeb8e3c8163303a162fb8f4bdd5aa9e25292c46e41
parentefcc21c9fab44d73457014836d16e32c79b7cb9a (diff)
downloadman-pages-5d4727859369a68cc33bcc29dddc0783d6b7edb5.tar.gz
ip.7: Fix incorrect sockopt name
"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 <rpazdera@redhat.com> Signed-off-by: Benjamin Poirier <bpoirier@suse.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man7/ip.72
1 files changed, 1 insertions, 1 deletions
diff --git a/man7/ip.7 b/man7/ip.7
index 3905573aad..37e2c8691d 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