[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120504090013.GA2362@minipsycho>
Date: Fri, 4 May 2012 11:00:14 +0200
From: Jiri Pirko <jpirko@...hat.com>
To: mtk.manpages@...il.com
Cc: linux-man@...r.kernel.org, netdev@...r.kernel.org
Subject: IP_MULTICAST_IF getsockopt man part
Hi.
<quote>
IP_MULTICAST_IF (since Linux 1.2)
Set the local device for a multicast socket.
Argument is an ip_mreqn or ip_mreq structure
similar to IP_ADD_MEMBERSHIP.
</quote>
That is not true. Setsockopt recognizes only ip_mreqn and in_addr. I
made patch which makes it recognize ip_mreq as well. So that would be
probably ok.
http://patchwork.ozlabs.org/patch/156815/
On the other hand, getsockopt works only with in_addr. That I think is
good behaviour but manpages here needs to be corrected in this way (read
part needs to be added here)
Thanks!
Jirka
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists