X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fmingw%2Fdevice.c;h=b7a191f4ebb490a3c68e074ab5e6964c4188a407;hb=6831262780e0bc707841227b5e069ee8756ddebf;hp=bf8ae13779cc3375bc1d936a14eecbfadf6c4f6e;hpb=d6b45d005530496e48325a6174ecdd889a17bfc1;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");