From 035f6acbfec1e06a207217ae81153b67ced995f3 Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Tue, 1 Jun 2004 13:12:10 +0000 Subject: Patch from Andreas Steinmetz --- proto/ospf/lsreq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'proto/ospf/lsreq.c') diff --git a/proto/ospf/lsreq.c b/proto/ospf/lsreq.c index 4951c84..5d387ee 100644 --- a/proto/ospf/lsreq.c +++ b/proto/ospf/lsreq.c @@ -82,7 +82,7 @@ lsrr_timer_hook(timer *timer) struct l_lsr_head *llsh; init_list(&uplist); - upslab=sl_new(p->pool,sizeof(struct l_lsr_head)); + upslab=sl_new(n->pool,sizeof(struct l_lsr_head)); WALK_SLIST(SNODE en,n->lsrtl) { @@ -132,7 +132,7 @@ ospf_lsreq_rx(struct ospf_lsreq_packet *ps, struct proto *p, length=ntohs(ps->ospf_packet.length); lsh=(void *)(ps+1); init_list(&uplist); - upslab=sl_new(p->pool,sizeof(struct l_lsr_head)); + upslab=sl_new(n->pool,sizeof(struct l_lsr_head)); lsano=(length-sizeof(struct ospf_lsreq_packet))/ sizeof(struct ospf_lsreq_header); -- cgit v1.2.3