Revision f623ab98 proto/ospf/rt.c

View differences:

proto/ospf/rt.c
501 501
#ifdef OSPFv2
502 502
      ospf_rt_spfa_rtlinks(oa, act, act);
503 503
#else /* OSPFv3 */
504
      /* Errata 2078 to RFC 5340 4.8.1 - skip links from non-routing nodes */
505
      if ((act != oa->rt) && !(rt->options & OPT_R))
506
	break;
507

  
504 508
      for (tmp = ospf_hash_find_rt_first(po->gr, act->domain, act->lsa.rt);
505 509
	   tmp; tmp = ospf_hash_find_rt_next(tmp))
506 510
	ospf_rt_spfa_rtlinks(oa, act, tmp);
......
1839 1843
  if (en->lsa.type == LSA_T_RT)
1840 1844
    {
1841 1845
      struct ospf_lsa_rt *rt = en->lsa_body;
1842
      if (!(rt->options & OPT_V6) || !(rt->options & OPT_R))
1846
      if (!(rt->options & OPT_V6))
1843 1847
	return;
1844 1848
    }
1845 1849
#endif

Also available in: Unified diff