summaryrefslogtreecommitdiffstats
path: root/proto/ospf/lsupd.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/lsupd.c
parent496c819f26f67593797f0b861e153399c1d63a86 (diff)
downloadbird-4bb9ce56bbf42ac09fc8293d8419835b6f178e83.tar
bird-4bb9ce56bbf42ac09fc8293d8419835b6f178e83.zip
Reset inactim timer if you receive any packet from neighbor.
Diffstat (limited to 'proto/ospf/lsupd.c')
-rw-r--r--proto/ospf/lsupd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/proto/ospf/lsupd.c b/proto/ospf/lsupd.c
index 8fbef11..e28b6a7 100644
--- a/proto/ospf/lsupd.c
+++ b/proto/ospf/lsupd.c
@@ -264,7 +264,8 @@ ospf_lsupd_rx(struct ospf_lsupd_packet *ps, struct proto *p,
return;
}
- debug("%s: Received LS upd from %I\n", p->name, n->ip);
+ debug("%s: Received LS upd from %I\n", p->name, n->ip);
+ ospf_neigh_sm(n, INM_HELLOREC);
lsa=(struct ospf_lsa_header *)(ps+1);
area=htonl(ps->ospf_packet.areaid);