]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/ipv4/igmp.c
ipv4: New multicast-all socket option
[net-next-2.6.git] / net / ipv4 / igmp.c
index 9eb6219af615af2327daef1ec461e3b1fdb16500..e6058a503796763ba023f11227a3487d3630e660 100644 (file)
@@ -2196,7 +2196,7 @@ int ip_mc_sf_allow(struct sock *sk, __be32 loc_addr, __be32 rmt_addr, int dif)
                        break;
        }
        if (!pmc)
-               return 1;
+               return inet->mc_all;
        psl = pmc->sflist;
        if (!psl)
                return pmc->sfmode == MCAST_EXCLUDE;