Print neighbor address when hellos are received
This commit is contained in:
parent
47bd032564
commit
58e54934db
1 changed files with 4 additions and 1 deletions
|
@ -67,7 +67,10 @@ static void handle_tlv_hello(gmrf_t *gmrf, gmrf_context_t *ctx, const gp_babel_t
|
|||
return;
|
||||
}
|
||||
|
||||
gmrf_logf(gmrf, LOG_DEBUG, "received hello with seqno %u.", ntohs(tlv_hello->seqno));
|
||||
gmrf_logf(gmrf, LOG_DEBUG, "received hello from %02x:%02x:%02x:%02x:%02x:%02x:%02x:%02x[%s] with seqno %04x.",
|
||||
arg->source->d[0], arg->source->d[1], arg->source->d[2], arg->source->d[3],
|
||||
arg->source->d[4], arg->source->d[5], arg->source->d[6], arg->source->d[7],
|
||||
gmrf_iface_get_name(gmrf, arg->iface->gmrf_iface), ntohs(tlv_hello->seqno));
|
||||
|
||||
gp_babel_neigh_t *neigh = get_tlv_neigh(arg);
|
||||
|
||||
|
|
Reference in a new issue