Revision 4d176e14 nest/rt-table.c

View differences:

nest/rt-table.c
979 979
      struct ea_list *tmpa, *old_tmpa;
980 980
      struct proto *p0 = e->attrs->proto;
981 981
      struct proto *p1 = d->import_protocol;
982
      struct proto *p2 = d->show_protocol;
982 983
      d->rt_counter++;
983 984
      ee = e;
984 985
      rte_update_lock();		/* We use the update buffer for filtering */
985 986
      old_tmpa = tmpa = p0->make_tmp_attrs ? p0->make_tmp_attrs(e, rte_update_pool) : NULL;
986 987
      ok = (d->filter == FILTER_ACCEPT || f_run(d->filter, &e, &tmpa, rte_update_pool, FF_FORCE_TMPATTR) <= F_ACCEPT);
988
      if (p2 && p2 != p0) ok = 0;
987 989
      if (ok && d->import_mode)
988 990
	{
989 991
	  int ic = (p1->import_control ? p1->import_control(p1, &e, &tmpa, rte_update_pool) : 0);

Also available in: Unified diff