Revision 258d0ad4 nest/rt-table.c

View differences:

nest/rt-table.c
851 851
  FIB_ITERATE_START(&h->table->fib, fit, fn)
852 852
    {
853 853
      net *n = (net *) fn;
854
      rte *e;
854
      rte *e = n->routes;
855 855
      if (max_feed <= 0)
856 856
	{
857 857
	  FIB_ITERATE_PUT(fit, fn);
858 858
	  return 0;
859 859
	}
860
      for(e=n->routes; e; e=e->next)
860
      if (e)
861 861
	{
862 862
	  struct proto *q = e->attrs->proto;
863 863
	  ea_list *tmpa;

Also available in: Unified diff