Revision 035f6acb proto/ospf/lsreq.c

View differences:

proto/ospf/lsreq.c
82 82
      struct l_lsr_head *llsh;
83 83

  
84 84
      init_list(&uplist);
85
      upslab=sl_new(p->pool,sizeof(struct l_lsr_head));
85
      upslab=sl_new(n->pool,sizeof(struct l_lsr_head));
86 86

  
87 87
      WALK_SLIST(SNODE en,n->lsrtl)
88 88
      {
......
132 132
  length=ntohs(ps->ospf_packet.length);
133 133
  lsh=(void *)(ps+1);
134 134
  init_list(&uplist);
135
  upslab=sl_new(p->pool,sizeof(struct l_lsr_head));
135
  upslab=sl_new(n->pool,sizeof(struct l_lsr_head));
136 136

  
137 137
  lsano=(length-sizeof(struct ospf_lsreq_packet))/
138 138
    sizeof(struct ospf_lsreq_header);

Also available in: Unified diff