summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-03-18 19:31:47 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-03-18 19:31:47 +0100
commita9713337b67a263dc40c9a954f9fcead9ac11fc8 (patch)
treeca3d962f49edd3c9430dca26f6f5d3b9a2e727c3 /src
parente0893410a5131f351f1393644f2f48227490bd6e (diff)
downloadbabel-a9713337b67a263dc40c9a954f9fcead9ac11fc8.tar
babel-a9713337b67a263dc40c9a954f9fcead9ac11fc8.zip
Print messages when an interface is added
Diffstat (limited to 'src')
-rw-r--r--src/core.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core.c b/src/core.c
index 71ea186..d8d089f 100644
--- a/src/core.c
+++ b/src/core.c
@@ -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) {
}