On Sat, Aug 15, 2015 at 3:09 AM, Nick Podolak <[email protected]> wrote:
> This patch enables multicast by for gre tunnels. I've only ever used > GRE to enable routing algorithms and other multicast applications over > otherwise non-multicast capable links (wan, ipsec) so this default > behavior makes more sense to me. > > Signed-off-by: Nicholas Podolak <[email protected]> > > Index: netifd-2015-06-08/system-linux.c > =================================================================== > --- netifd-2015-06-08.orig/system-linux.c > +++ netifd-2015-06-08/system-linux.c > @@ -2063,8 +2063,11 @@ static int system_add_gre_tunnel(const c > nla_nest_end(nlm, infodata); > nla_nest_end(nlm, linkinfo); > > - return system_rtnl_call(nlm); > + ret = system_rtnl_call(nlm); > > + system_if_flags(name, IFF_MULTICAST, 0); > + > + return ret; > failure: > nlmsg_free(nlm); > return ret; > _______________________________________________ > openwrt-devel mailing list > [email protected] > https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel > It would be better to make this a device setting like promiscuous mode,macaddr, etc ... so it can be configured via UCI for every device and thus not only restricted for GRE Hans
_______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
