diff options
Diffstat (limited to 'proto/ospf/lsreq.c')
-rw-r--r-- | proto/ospf/lsreq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/ospf/lsreq.c b/proto/ospf/lsreq.c index 7fa85be..f894c66 100644 --- a/proto/ospf/lsreq.c +++ b/proto/ospf/lsreq.c @@ -25,7 +25,7 @@ ospf_lsreq_tx(struct ospf_neighbor *n) fill_ospf_pkt_hdr(n->ifa, pk, LSREQ); sn=SHEAD(n->lsrql); - if(sn==NULL) + if(EMPTY_SLIST(n->lsrql)) { if(n->state==NEIGHBOR_LOADING) ospf_neigh_sm(n, INM_LOADDONE); return; |