X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmeshlink.c;h=ebe585d2960eed6c0271e03716507a85972c7c7b;hb=9e46fee1c71faad5e6f0b69ff9a92d01d0dad899;hp=e65b7b199c76205d82c9fb76e3ea55ada5c08322;hpb=7c5ce220ac7492746e8579defce38729145da069;p=meshlink diff --git a/src/meshlink.c b/src/meshlink.c index e65b7b19..ebe585d2 100644 --- a/src/meshlink.c +++ b/src/meshlink.c @@ -1269,6 +1269,8 @@ meshlink_handle_t *meshlink_open_ex(const meshlink_open_params_t *params) { mesh->invitation_timeout = 604800; // 1 week mesh->netns = params->netns; mesh->submeshes = NULL; + mesh->log_cb = global_log_cb; + mesh->log_level = global_log_level; memcpy(mesh->dev_class_traits, default_class_traits, sizeof(default_class_traits));