[Olsr-dev] join_mcast WTF?

Henning Rogge (spam-protected)
Tue Jan 29 15:50:31 CET 2013


Yes,

but look at it more closely.

1.) its in the linux specific code, so what use are there "not BSD" 
preprocessor magic.

2.) I would say it tries to allocate the multicast-group twice

(we have a problem with it here at work)

Henning Rogge

On 01/29/2013 03:49 PM, Ferry Huberts wrote:
> originates from ef5e8029a7e577762aba5caa091c0a0cf744c9f8
>
>
> Author: Andreas Tonnesen <(spam-protected)>  2005-03-04 22:30:17
> Committer: Andreas Tonnesen <(spam-protected)>  2005-03-04 22:30:17
> Parent: d57fae4a51edd40b85b0ea027f169b54bbcef468 (Added generic
> interface properties)
> Child:  f7306baf37ad41f75f8c8c087e412648c9cbe928 (Small fix for win32)
> Branches: many (29)
> Follows: OLSRD_0_4_8
> Precedes: OLSRD_0_4_9
>
>      moved join multicast function into OS spesific net.c file
>
>
> On 29/01/13 15:31, Henning Rogge wrote:
>> Hi,
>>
>> has someone an idea whats the reason behind this strange preprocessor
>> magic in src/linux/net.c join_mcast() (line 580 and following?)
>>
>> That looks like some crazy leftover from a split of BSD and Linux code.
>> I am not sure why this code can work at all!
>>
>> (its only called for IPv6)
>>
>> Henning Rogge
>>
>>
>


-- 
Diplom-Informatiker Henning Rogge , Fraunhofer-Institut für
Kommunikation, Informationsverarbeitung und Ergonomie FKIE
Kommunikationssysteme (KOM)
Fraunhofer Straße 20, 53343 Wachtberg, Germany
Telefon +49 228 9435-961,   Fax +49 228 9435 685
mailto:(spam-protected) http://www.fkie.fraunhofer.de

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6169 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20130129/22216070/attachment.bin>


More information about the Olsr-dev mailing list