1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

Reset inactim timer if you receive any packet from neighbor.

This commit is contained in:
Ondrej Filip
2000-06-05 19:45:06 +00:00
parent 496c819f26
commit 4bb9ce56bb
4 changed files with 5 additions and 1 deletions

View File

@@ -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);