summaryrefslogtreecommitdiffstats
path: root/proto/ospf/neighbor.c
diff options
context:
space:
mode:
Diffstat (limited to 'proto/ospf/neighbor.c')
-rw-r--r--proto/ospf/neighbor.c10
1 files changed, 8 insertions, 2 deletions
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);
+}
+