lkml.org 
[lkml]   [2003]   [Mar]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH] Re: Booting 2.5.63 vs 2.4.20 I can't read multicast data
    On Tue, 4 Mar 2003, Niels den Otter wrote:

    > You appear to be strugling with the same problem I have. What I find is
    > that the multicast application binds to the loopback instead of ethernet
    > interface (also no IGMP joins are send out on the ethernet interface).

    Please try the patch below.


    - James
    --
    James Morris
    <jmorris@intercode.com.au>


    diff -urN -X dontdiff linux-2.5.64.orig/net/ipv4/igmp.c linux-2.5.64.w1/net/ipv4/igmp.c
    --- linux-2.5.64.orig/net/ipv4/igmp.c Tue Feb 25 15:03:26 2003
    +++ linux-2.5.64.w1/net/ipv4/igmp.c Thu Mar 6 15:55:37 2003
    @@ -606,7 +606,7 @@
    static struct in_device * ip_mc_find_dev(struct ip_mreqn *imr)
    {
    struct flowi fl = { .nl_u = { .ip4_u =
    - { .daddr = imr->imr_address.s_addr } } };
    + { .daddr = imr->imr_multiaddr.s_addr } } };
    struct rtable *rt;
    struct net_device *dev = NULL;
    struct in_device *idev = NULL;
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:33    [W:0.019 / U:2.680 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site