Commit e2f6f29a authored by Gabriel Kerneis's avatar Gabriel Kerneis

Fix unique id in local_notify_route

parent 0560d779
...@@ -197,11 +197,10 @@ local_notify_route(struct route *route, int kind) ...@@ -197,11 +197,10 @@ local_notify_route(struct route *route, int kind)
return; return;
rc = snprintf(buf, 512, rc = snprintf(buf, 512,
"%s route %s-%s-%lx prefix %s installed %s " "%s route %s-%lx prefix %s installed %s "
"id %s metric %d refmetric %d via %s if %s\n", "id %s metric %d refmetric %d via %s if %s\n",
local_kind(kind), local_kind(kind),
format_prefix(route->src->prefix, route->src->plen), format_prefix(route->src->prefix, route->src->plen),
format_eui64(route->src->id),
(unsigned long)route->neigh, (unsigned long)route->neigh,
format_prefix(route->src->prefix, route->src->plen), format_prefix(route->src->prefix, route->src->plen),
route->installed ? "yes" : "no", route->installed ? "yes" : "no",
......
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