diff options
Diffstat (limited to 'src/neigh.c')
-rw-r--r-- | src/neigh.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/neigh.c b/src/neigh.c index bffbaa4..a114181 100644 --- a/src/neigh.c +++ b/src/neigh.c @@ -36,6 +36,7 @@ gp_babel_neigh_t* gp_babel_neigh_get(gmrf_iface_state_t *iface, const gmrf_addr_ neigh->next = iface->neighbours; neigh->iface = iface; iface->neighbours = neigh; + neigh->last_packet = gmrf_time_unspec; neigh->last_hello = gmrf_time_unspec; neigh->last_ihu = gmrf_time_unspec; neigh->addr = *addr; @@ -106,5 +107,6 @@ uint16_t gp_babel_neigh_get_cost(gmrf_context_t *ctx, const gp_babel_neigh_t *ne } void gp_babel_neigh_reset(gmrf_context_t *ctx, gmrf_iface_state_t *iface, gp_babel_neigh_t *neigh) { - gp_babel_send_route_request(ctx, iface, neigh, NULL); + + //gp_babel_send_route_request(ctx, iface, neigh, NULL); } |