diff --git a/proto/ospf/dbdes.c b/proto/ospf/dbdes.c index 7162e164..7278ccb1 100644 --- a/proto/ospf/dbdes.c +++ b/proto/ospf/dbdes.c @@ -219,6 +219,7 @@ ospf_dbdes_rx(struct ospf_dbdes_packet *ps, struct proto *p, debug("%s: Received dbdes from %I via %s.\n", p->name, n->ip, ifa->iface->name); + ospf_neigh_sm(n, INM_HELLOREC); switch(n->state) { diff --git a/proto/ospf/lsack.c b/proto/ospf/lsack.c index a9853f4e..f79aa2ae 100644 --- a/proto/ospf/lsack.c +++ b/proto/ospf/lsack.c @@ -169,6 +169,7 @@ ospf_lsack_rx(struct ospf_lsack_packet *ps, struct proto *p, } debug("%s: Received LS ack from %I\n", p->name, n->ip); + ospf_neigh_sm(n, INM_HELLOREC); if(n->statestatename, n->ip); + ospf_neigh_sm(n, INM_HELLOREC); length=ntohs(ps->ospf_packet.length); lsh=(void *)(ps+1); diff --git a/proto/ospf/lsupd.c b/proto/ospf/lsupd.c index 8fbef111..e28b6a7e 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);