X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;ds=sidebyside;f=src%2Fmingw%2Fdevice.c;h=b7a191f4ebb490a3c68e074ab5e6964c4188a407;hb=3a149f7521dfff67e6a790c1a830afc649ae083e;hp=bf8ae13779cc3375bc1d936a14eecbfadf6c4f6e;hpb=bf81fce8ff7a244ecdfbe2d5535bdf4df07b3f35;p=tinc diff --git a/src/mingw/device.c b/src/mingw/device.c index bf8ae137..b7a191f4 100644 --- a/src/mingw/device.c +++ b/src/mingw/device.c @@ -108,8 +108,8 @@ static bool setup_device(void) { int err; - get_config_string(lookup_config(config_tree, "Device"), &device); - get_config_string(lookup_config(config_tree, "Interface"), &iface); + get_config_string(lookup_config(&config_tree, "Device"), &device); + get_config_string(lookup_config(&config_tree, "Interface"), &iface); if(device && iface) { logger(DEBUG_ALWAYS, LOG_WARNING, "Warning: both Device and Interface specified, results may not be as expected");