Debian Bug report logs - #607979
The argument for IP_MULTICAST_IF socket option

version graph

Package: manpages; Maintainer for manpages is Dr. Tobias Quathamer <[email protected]>; Source for manpages is src:manpages (PTS, buildd, popcon).

Reported by: Tanaka Akira <[email protected]>

Date: Sat, 25 Dec 2010 15:21:01 UTC

Severity: normal

Tags: confirmed, fixed-upstream, patch, upstream

Found in version manpages/3.05-1

Fixed in version manpages/3.54-1

Done: Simon Paillard <[email protected]>

Bug is archived. No further changes may be made.

Forwarded to http://thread.gmane.org/gmane.linux.man/3993

Full log


Message #5 received at [email protected] (full text, mbox, reply):

Received: (at submit) by bugs.debian.org; 25 Dec 2010 15:16:13 +0000
From [email protected] Sat Dec 25 15:16:13 2010
X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02
	(2008-06-10) on busoni.debian.org
X-Spam-Level: 
X-Spam-Bayes: score:0.0000 Tokens: new, 17; hammy, 65; neutral, 34; spammy, 0.
	spammytokens: hammytokens:0.000-+--manpages, 0.000-+--struct,
	0.000-+--HX-Spam-Relays-External:209.85.161.52, 0.000-+--H*RU:209.85.161.52,
	0.000-+--H*RU:sk:mail-fx
X-Spam-Status: No, score=-8.3 required=4.0 tests=BAYES_00,HAS_PACKAGE,
	RCVD_IN_DNSWL_LOW,SPF_PASS,URIBL_CNKR autolearn=ham
	version=3.2.5-bugs.debian.org_2005_01_02
Return-path: <[email protected]>
Received: from mail-fx0-f52.google.com ([209.85.161.52])
	by busoni.debian.org with esmtp (Exim 4.69)
	(envelope-from <[email protected]>)
	id 1PWVqv-00022l-2C
	for [email protected]; Sat, 25 Dec 2010 15:16:13 +0000
Received: by fxm5 with SMTP id 5so7331211fxm.11
        for <[email protected]>; Sat, 25 Dec 2010 07:16:02 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:mime-version:received:sender:received:date
         :x-google-sender-auth:message-id:subject:from:to:content-type;
        bh=XnWzqdTc3p4BBcjlSAC8Vg0rc5bPrsqxHE+UXVAm8SI=;
        b=CshkucxG7nUUFy5vEieFU0lqzgy0I4ugYflzgyLdU/hWEzYLtjBZ0afPlXywK5u4O9
         gYIh/XX4N/Jm1muk60B+YZVtfMU8p8+9geNgmVxIV0de0h3LDp8rRlVxDflJzk00OIY0
         TXDqclwRWRpNp7sUTgd2fhseAORI83qel/t3g=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=mime-version:sender:date:x-google-sender-auth:message-id:subject
         :from:to:content-type;
        b=ANiFgDD21nG3sR6uoQgEbWuwweVCO/5YUJo/3RZH5JSCFm3vUz9A7Ads7/gByxi+9A
         HMLFKnIptoYCfnoCjEminCuX7p3JAzE+qMCS6okgWFzXAoCaI+dKItYKOGlgR8VsbEoU
         d1kWxyqC4AjU73DWDQnznpac7jT3/Rkx9NHAk=
MIME-Version: 1.0
Received: by 10.223.100.8 with SMTP id w8mr11377955fan.55.1293290160542; Sat,
 25 Dec 2010 07:16:00 -0800 (PST)
Sender: [email protected]
Received: by 10.223.32.68 with HTTP; Sat, 25 Dec 2010 07:16:00 -0800 (PST)
Date: Sun, 26 Dec 2010 00:16:00 +0900
X-Google-Sender-Auth: uZ4Gz5pFbWduHD9sMAmh5rnLuDM
Message-ID: <[email protected]>
Subject: The argument for IP_MULTICAST_IF socket option
From: Tanaka Akira <[email protected]>
To: [email protected]
Content-Type: text/plain; charset=ISO-8859-1
Delivered-To: [email protected]
Package: manpages
Version: 3.05-1

ip(7) describes that the argument for IP_MULTICAST_IF is ip_mreqn or ip_mreq:

   IP_MULTICAST_IF
	  Set the local device for a multicast  socket.   Argument  is  an
	  ip_mreqn or ip_mreq structure similar to IP_ADD_MEMBERSHIP.

But it should be ip_mreqn or in_addr.
It is different from IP_ADD_MEMBERSHIP.

At the original API of BSD multicast, IP_MULTICAST_IF takes struct in_addr.
http://www.kohala.com/start/mcast.api.txt

do_ip_setsockopt() in Linux net/ipv4/ip_sockglue.c seems to support
ip_mreqn and in_addr.
-- 
Tanaka Akira




Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Mon Nov 11 11:57:20 2024; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.