summaryrefslogtreecommitdiff
path: root/proto/ospf/lsack.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-06-03 01:29:00 +0000
committerOndrej Filip <feela@network.cz>2000-06-03 01:29:00 +0000
commit89d6782dd1a7775a292db3b2b622c8a48dbd757c (patch)
tree5f5c0a7bc59c95289b3bda941ad3dab78abfe329 /proto/ospf/lsack.c
parentb36a0a799c751864f65bc3384df301448b54f3bf (diff)
interface {} added.
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 acbc834c..eac17489 100644
--- a/proto/ospf/lsack.c
+++ b/proto/ospf/lsack.c
@@ -24,7 +24,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, LSACK);
+ fill_ospf_pkt_hdr(n->ifa, pk, LSACK_P);
memcpy(pk+1,h,sizeof(struct ospf_lsa_header));
len=sizeof(struct ospf_lsack_packet)+sizeof(struct ospf_lsa_header);
@@ -79,7 +79,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, LSACK);
+ fill_ospf_pkt_hdr(n->ifa, pk, LSACK_P);
h=(struct ospf_lsa_header *)(pk+1);
while(!EMPTY_LIST(n->ackl))
@@ -116,7 +116,7 @@ ospf_lsack_delay_tx(struct ospf_neighbor *n)
sk_send_to_agt(sk, len, ifa, NEIGHBOR_EXCHANGE);
}
- fill_ospf_pkt_hdr(n->ifa, pk, LSACK);
+ fill_ospf_pkt_hdr(n->ifa, pk, LSACK_P);
i=0;
}
}