From 28de5133ecdcb5b45dc251123047164fbb940e50 Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Fri, 4 Jun 2004 15:45:35 +0000 Subject: ackd_timer_hook moded to neighbor.c --- proto/ospf/neighbor.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'proto/ospf/neighbor.c') diff --git a/proto/ospf/neighbor.c b/proto/ospf/neighbor.c index ceb7fc6..e533eb6 100644 --- a/proto/ospf/neighbor.c +++ b/proto/ospf/neighbor.c @@ -25,8 +25,7 @@ const char *ospf_inm[]={ "hello received", "neighbor start", "2-way received", void neighbor_timer_hook(timer *timer); void rxmt_timer_hook(timer *timer); - - +void ackd_timer_hook(timer *t); struct ospf_neighbor * ospf_neighbor_new(struct ospf_iface *ifa) @@ -608,3 +607,10 @@ rxmt_timer_hook(timer *timer) } } +void +ackd_timer_hook(timer *t) +{ + struct ospf_neighbor *n=t->data; + if(!EMPTY_LIST(n->ackl)) ospf_lsack_delay_tx(n); +} + -- cgit v1.2.3