Revision 83696b39

View differences:

sysdep/linux/netlink/netlink.c
824 824
	  memcpy(&ra.gw, RTA_DATA(a[RTA_GATEWAY]), sizeof(ra.gw));
825 825
	  ipa_ntoh(ra.gw);
826 826

  
827
	  /* Silently skip strange 6to4 routes */
828
	  if (ipa_in_net(ra.gw, IPA_NONE, 96))
829
	    return;
830

  
827 831
	  ng = neigh_find2(&p->p, &ra.gw, ra.iface,
828 832
			   (i->rtm_flags & RTNH_F_ONLINK) ? NEF_ONLINK : 0);
829 833
	  if (!ng || (ng->scope == SCOPE_HOST))

Also available in: Unified diff