Commit 96134b42 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Use pointer address for identifying routes in local interface.

The previous choice was not unique in the presence of multiple next hops.
parent 75de8a41
......@@ -237,10 +237,10 @@ local_notify_route_1(struct local_socket *s, struct babel_route *route, int kind
route->src->src_plen);
rc = snprintf(buf, 512,
"%s route %s-%lx-%s prefix %s from %s installed %s "
"%s route %lx prefix %s from %s installed %s "
"id %s metric %d refmetric %d via %s if %s\n",
local_kind(kind),
dst_prefix, (unsigned long)route->neigh, src_prefix,
(unsigned long)route,
dst_prefix, src_prefix,
route->installed ? "yes" : "no",
format_eui64(route->src->id),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment