Print messages when an interface is added
This commit is contained in:
parent
e0893410a5
commit
a9713337b6
1 changed files with 4 additions and 0 deletions
|
@ -45,5 +45,9 @@ gmrf_context_t* gmrf_protocol_init(gmrf_t *gmrf) {
|
|||
return NULL;
|
||||
}
|
||||
|
||||
void gmrf_protocol_add_iface(gmrf_t *gmrf, gmrf_context_t *ctx, gmrf_iface_t *iface) {
|
||||
gmrf_logf(gmrf, LOG_INFO, "interface `%s' added.", gmrf_iface_get_name(gmrf, iface));
|
||||
}
|
||||
|
||||
void gmrf_protocol_handle_packet(gmrf_t *gmrf, gmrf_context_t *ctx, gmrf_iface_t *iface, const gmrf_addr_t *source, const void *data, size_t len) {
|
||||
}
|
||||
|
|
Reference in a new issue