Something like this: %%% --- ip_mroute.c.orig Mon May 15 09:52:41 2006 +++ ip_mroute.c Mon May 15 09:54:01 2006 @@ -2115,6 +2115,7 @@ ip_output(m, NULL, &vifp->v_route, IP_FORWARDING, NULL, NULL); else { struct ip_moptions imo; + struct in_multi *imm[2]; int error; static struct route ro; /* XXX check this */
@@ -2122,6 +2123,9 @@ imo.imo_multicast_ttl = mtod(m, struct ip *)->ip_ttl - 1; imo.imo_multicast_loop = 1; imo.imo_multicast_vif = -1; + imo.imo_num_memberships = 0; + imo.imo_max_memberships = 2; + imo.imo_membership = &imm[0]; /* * Re-entrancy should not be a problem here, because Exit 1 %%% _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "[EMAIL PROTECTED]"