From f29e37138a190c5cb43747433d687c944b7d2efe Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Thu, 1 Aug 2013 21:07:59 +0200 Subject: Simplify basic protocol, rename announces to routes, begin implementing route request handling --- src/neigh.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/neigh.c') diff --git a/src/neigh.c b/src/neigh.c index 252713c..0270192 100644 --- a/src/neigh.c +++ b/src/neigh.c @@ -105,6 +105,6 @@ uint16_t gp_babel_neigh_get_cost(gmrf_context_t *ctx, const gp_babel_neigh_t *ne return cost; } -void gp_babel_neigh_reset(gmrf_iface_state_t *iface, gp_babel_neigh_t *neigh) { - //gp_babel_send_announce_request(iface, neigh, GMRF_PROTO_BABEL_NODE_ID_UNSPEC, 0, 0, true /* XXX change this later */); +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); } -- cgit v1.2.3