From 5d608eba1636e307624300fdd47b9024be92d39a Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Tue, 9 May 2000 12:31:38 +0000 Subject: Bug fix in sending updates. --- proto/ospf/lsupd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'proto') 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; -- cgit v1.2.3