summaryrefslogtreecommitdiffstats
path: root/proto/ospf/lsreq.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-06-05 21:45:06 +0200
committerOndrej Filip <feela@network.cz>2000-06-05 21:45:06 +0200
commit4bb9ce56bbf42ac09fc8293d8419835b6f178e83 (patch)
treedae5fe5e597491187c867ef06db5c2ade34b5c3f /proto/ospf/lsreq.c
parent496c819f26f67593797f0b861e153399c1d63a86 (diff)
downloadbird-4bb9ce56bbf42ac09fc8293d8419835b6f178e83.tar
bird-4bb9ce56bbf42ac09fc8293d8419835b6f178e83.zip
Reset inactim timer if you receive any packet from neighbor.
Diffstat (limited to 'proto/ospf/lsreq.c')
-rw-r--r--proto/ospf/lsreq.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/proto/ospf/lsreq.c b/proto/ospf/lsreq.c
index acd36a8..c9c4b1d 100644
--- a/proto/ospf/lsreq.c
+++ b/proto/ospf/lsreq.c
@@ -127,6 +127,7 @@ ospf_lsreq_rx(struct ospf_lsreq_packet *ps, struct proto *p,
if(n->state<NEIGHBOR_EXCHANGE) return;
debug("%s: Received LS req from neighbor: %I\n",p->name, n->ip);
+ ospf_neigh_sm(n, INM_HELLOREC);
length=ntohs(ps->ospf_packet.length);
lsh=(void *)(ps+1);