diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-03-18 19:31:47 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-03-18 19:31:47 +0100 |
commit | a9713337b67a263dc40c9a954f9fcead9ac11fc8 (patch) | |
tree | ca3d962f49edd3c9430dca26f6f5d3b9a2e727c3 /src | |
parent | e0893410a5131f351f1393644f2f48227490bd6e (diff) | |
download | babel-a9713337b67a263dc40c9a954f9fcead9ac11fc8.tar babel-a9713337b67a263dc40c9a954f9fcead9ac11fc8.zip |
Print messages when an interface is added
Diffstat (limited to 'src')
-rw-r--r-- | src/core.c | 4 |
1 files changed, 4 insertions, 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) { } |