Bug fix in sending updates.
This commit is contained in:
parent
0e1b949be7
commit
5d608eba16
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ ospf_lsupd_tx_list(struct ospf_neighbor *n, list *l)
|
||||||
u8 ii;
|
u8 ii;
|
||||||
u8 *jj=n->ifa->ip_sk->tbuf;
|
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;
|
pk=(struct ospf_lsupd_packet *)n->ifa->ip_sk->tbuf;
|
||||||
op=(struct ospf_packet *)n->ifa->ip_sk->tbuf;
|
op=(struct ospf_packet *)n->ifa->ip_sk->tbuf;
|
||||||
|
|
Loading…
Reference in a new issue