diff options
author | Ondrej Filip <feela@network.cz> | 2000-05-09 12:31:38 +0000 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2000-05-09 12:31:38 +0000 |
commit | 5d608eba1636e307624300fdd47b9024be92d39a (patch) | |
tree | b87dc27bdd368ceb62d3147e6b5bb71ed4e8b0cd | |
parent | 0e1b949be7f71d038e871dac159b424e76978bff (diff) |
Bug fix in sending updates.
-rw-r--r-- | proto/ospf/lsupd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/ospf/lsupd.c b/proto/ospf/lsupd.c index e01a019c..1c1b7c42 100644 --- a/proto/ospf/lsupd.c +++ b/proto/ospf/lsupd.c @@ -151,7 +151,7 @@ ospf_lsupd_tx_list(struct ospf_neighbor *n, list *l) u8 ii; u8 *jj=n->ifa->ip_sk->tbuf; - if(HEAD(*l)==NULL) return; + if(EMPTY_LIST(*l)) return; pk=(struct ospf_lsupd_packet *)n->ifa->ip_sk->tbuf; op=(struct ospf_packet *)n->ifa->ip_sk->tbuf; |