X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Ffd_device.c;h=f21e475c52ccf2f7a2e7519fc6f957265bcd06d9;hb=1022812ed4b5c70162f2f0a9d9a96c716c936408;hp=7360d17e7964da2b669b254970edb044f7416d4e;hpb=2c6b2d70e6640f39563ad7bb0aa0ba87f883848c;p=tinc diff --git a/src/fd_device.c b/src/fd_device.c index 7360d17e..f21e475c 100644 --- a/src/fd_device.c +++ b/src/fd_device.c @@ -150,7 +150,7 @@ static bool setup_device(void) { return false; } - if(!get_config_string(lookup_config(config_tree, "Device"), &device)) { + if(!get_config_string(lookup_config(&config_tree, "Device"), &device)) { logger(DEBUG_ALWAYS, LOG_ERR, "Could not read device from configuration!"); return false; }