Revision d47c3d64 proto/static/static.c

View differences:

proto/static/static.c
128 128
    r->state |= STS_INSTALLED;
129 129
  
130 130
  if (r->dest == RTDX_RECURSIVE)
131
    rta_set_recursive_next_hop(p->main_channel->table, ap, p_igp_table(p), r->via, IPA_NONE);
131
    {
132
      ap->nh.labels_append = ap->nh.labels = r->label_count;
133
      memcpy(ap->nh.label, r->label_stack, r->label_count * sizeof(u32));
134
      rta_set_recursive_next_hop(p->main_channel->table, ap, p_igp_table(p), r->via, IPA_NONE);
135
    }
132 136

  
133 137
  /* We skip rta_lookup() here */
134 138

  

Also available in: Unified diff