Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Nov 2003 09:29:49 +0100 (CET)
From:      Harti Brandt <brandt@fokus.fraunhofer.de>
To:        Bruce M Simpson <bms@spc.org>
Cc:        Robert Watson <rwatson@freebsd.org>
Subject:   Re: Viewing multicast group membership?
Message-ID:  <20031111092650.P7611@beagle.fokus.fraunhofer.de>
In-Reply-To: <20031110221139.GB2441@saboteur.dek.spc.org>
References:  <20031110073822.GA20611@saboteur.dek.spc.org> <Pine.NEB.3.96L.1031110131422.59199A-100000@fledge.watson.org> <20031110204652.A84670@beagle.fokus.fraunhofer.de> <20031110221139.GB2441@saboteur.dek.spc.org>

next in thread | previous in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime@docserver.cac.washington.edu for more info.

--0-1145545882-1068539389=:7611
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Mon, 10 Nov 2003, Bruce M Simpson wrote:

BMS>On Mon, Nov 10, 2003 at 08:49:40PM +0100, Harti Brandt wrote:
BMS>> I have a patch that creates a sysctl that returns the per-interface
BMS>> multicast address lists that mimics the sysctl that returns the interface
BMS>> address lists. If you can wait until tomorrow I'll send you the patch.
BMS>> This is running for more than two years on all my machines.
BMS>
BMS>Sounds like what I was planning to do anyway. Ok, look forward to it. :^)

Here you are. This was even once (about a year ago) reviewed by someone,
but did make it into the tree, because I did not insist.

harti
-- 
harti brandt,
http://www.fokus.fraunhofer.de/research/cc/cats/employees/hartmut.brandt/private
brandt@fokus.fraunhofer.de, harti@freebsd.org
--0-1145545882-1068539389=:7611
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="rtsock.diff"
Content-Transfer-Encoding: BASE64
Content-ID: <20031111092949.A7611@beagle.fokus.fraunhofer.de>
Content-Description: 
Content-Disposition: attachment; filename="rtsock.diff"

SW5kZXg6IHN5cy9zb2NrZXQuaA0KPT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09P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1JU
QVhfSUZQXSA9IE5VTEw7DQorCQlpbmZvLnJ0aV9pbmZvW1JUQVhfR0FURVdB
WV0gPSBOVUxMOw0KKwl9DQorZG9uZToNCisJLyogSUZORVRfUlVOTE9DSygp
OyAqLyAvKiBYWFggKi8NCisJcmV0dXJuIChlcnJvcik7DQorfQ0KKw0KIHN0
YXRpYyBpbnQNCiBzeXNjdGxfcnRzb2NrKFNZU0NUTF9IQU5ETEVSX0FSR1Mp
DQogew0KQEAgLTEwNjYsNiArMTEyNCwxMSBAQA0KIA0KIAljYXNlIE5FVF9S
VF9JRkxJU1Q6DQogCQllcnJvciA9IHN5c2N0bF9pZmxpc3QoYWYsICZ3KTsN
CisJCWJyZWFrOw0KKw0KKwljYXNlIE5FVF9SVF9JRk1BTElTVDoNCisJCWVy
cm9yID0gc3lzY3RsX2lmbWFsaXN0KGFmLCAmdyk7DQorCQlicmVhazsNCiAJ
fQ0KIAlzcGx4KHMpOw0KIAlpZiAody53X3RtZW0pDQo=

--0-1145545882-1068539389=:7611--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031111092650.P7611>