Thread (2 messages) 2 messages, 2 authors, 2012-05-05

IP_MULTICAST_IF getsockopt man part

From: Jiri Pirko <hidden>
Date: 2012-05-04 09:00:14
Also in: netdev

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 linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help