summaryrefslogtreecommitdiffstats
path: root/proto/ospf/lsack.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-04-18 21:44:16 +0200
committerOndrej Filip <feela@network.cz>2000-04-18 21:44:16 +0200
commit9eada7ca03c6c4111e759b0910a1a654a7f3216e (patch)
treed08b21fa42201d276b36ff663458ffdcc67a190b /proto/ospf/lsack.c
parent9eea604769662479891020b5a0fb282faa6dc36f (diff)
downloadbird-9eada7ca03c6c4111e759b0910a1a654a7f3216e.tar
bird-9eada7ca03c6c4111e759b0910a1a654a7f3216e.zip
Fixed the serious bug in LSack.
Oh, I'm an idiot. I sent LSACK, but in header was LSUPD. :-(
Diffstat (limited to 'proto/ospf/lsack.c')
-rw-r--r--proto/ospf/lsack.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/proto/ospf/lsack.c b/proto/ospf/lsack.c
index 335ae1e..f95caf5 100644
--- a/proto/ospf/lsack.c
+++ b/proto/ospf/lsack.c
@@ -22,7 +22,7 @@ ospf_lsack_direct_tx(struct ospf_neighbor *n,struct ospf_lsa_header *h)
pk=(struct ospf_lsack_packet *)sk->tbuf;
op=(struct ospf_packet *)sk->tbuf;
- fill_ospf_pkt_hdr(n->ifa, pk, LSUPD);
+ fill_ospf_pkt_hdr(n->ifa, pk, LSACK);
memcpy(pk+1,h,sizeof(struct ospf_lsa_header));
len=sizeof(struct ospf_lsack_packet)+sizeof(struct ospf_lsa_header);
@@ -76,7 +76,7 @@ ospf_lsack_delay_tx(struct ospf_neighbor *n)
pk=(struct ospf_lsack_packet *)sk->tbuf;
op=(struct ospf_packet *)sk->tbuf;
- fill_ospf_pkt_hdr(n->ifa, pk, LSUPD);
+ fill_ospf_pkt_hdr(n->ifa, pk, LSACK);
h=(struct ospf_lsa_header *)(pk+1);
while(!EMPTY_LIST(n->ackl))
@@ -115,7 +115,7 @@ ospf_lsack_delay_tx(struct ospf_neighbor *n)
}
*/
- fill_ospf_pkt_hdr(n->ifa, pk, LSUPD);
+ fill_ospf_pkt_hdr(n->ifa, pk, LSACK);
i=0;
}
}