diff options
author | Ondrej Filip <feela@network.cz> | 2004-06-01 15:12:10 +0200 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2004-06-01 15:12:10 +0200 |
commit | 035f6acbfec1e06a207217ae81153b67ced995f3 (patch) | |
tree | 0f30c642631e1a0d370ac45e17c99d13ab4c7332 /proto/ospf/lsreq.c | |
parent | 8281ff201e1eebe35cb8e7716565361bed77a6cd (diff) | |
download | bird-035f6acbfec1e06a207217ae81153b67ced995f3.tar bird-035f6acbfec1e06a207217ae81153b67ced995f3.zip |
Patch from Andreas Steinmetz <ast@domdv.de>
Diffstat (limited to 'proto/ospf/lsreq.c')
-rw-r--r-- | proto/ospf/lsreq.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |