diff options
author | Ondrej Filip <feela@network.cz> | 2004-06-04 15:45:35 +0000 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2004-06-04 15:45:35 +0000 |
commit | 28de5133ecdcb5b45dc251123047164fbb940e50 (patch) | |
tree | 22c279156b3d4fd805649f40a36828fe18aa14f1 /proto/ospf/neighbor.c | |
parent | d03e8ce00b8fea374bbc06a4eb5254e911557e83 (diff) |
ackd_timer_hook moded to neighbor.c
Diffstat (limited to 'proto/ospf/neighbor.c')
-rw-r--r-- | proto/ospf/neighbor.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/proto/ospf/neighbor.c b/proto/ospf/neighbor.c index ceb7fc68..e533eb68 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); +} + |