X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;ds=sidebyside;f=src%2Ffd_device.c;h=f21e475c52ccf2f7a2e7519fc6f957265bcd06d9;hb=3a149f7521dfff67e6a790c1a830afc649ae083e;hp=7360d17e7964da2b669b254970edb044f7416d4e;hpb=bf81fce8ff7a244ecdfbe2d5535bdf4df07b3f35;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; }