summaryrefslogtreecommitdiffstats
path: root/src/neigh.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-08-01 21:07:59 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-08-01 21:07:59 +0200
commitf29e37138a190c5cb43747433d687c944b7d2efe (patch)
tree4f959cc0557150591e993bcc344b316d39272752 /src/neigh.c
parent45a3ff5a4f41ca861a57fc9e14d4ac8a4905af95 (diff)
downloadbabel-f29e37138a190c5cb43747433d687c944b7d2efe.tar
babel-f29e37138a190c5cb43747433d687c944b7d2efe.zip
Simplify basic protocol, rename announces to routes, begin implementing route request handling
Diffstat (limited to 'src/neigh.c')
-rw-r--r--src/neigh.c4
1 files changed, 2 insertions, 2 deletions
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);
}