]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Bug fix in sending updates.
authorOndrej Filip <feela@network.cz>
Tue, 9 May 2000 12:31:38 +0000 (12:31 +0000)
committerOndrej Filip <feela@network.cz>
Tue, 9 May 2000 12:31:38 +0000 (12:31 +0000)
proto/ospf/lsupd.c

index e01a019c6b333c1ab6bb34138e101b09d3975e5d..1c1b7c4281a97a7f831756983ca898b17e1702ba 100644 (file)
@@ -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;