X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fmingw%2Fdevice.c;fp=src%2Fmingw%2Fdevice.c;h=777874887c98072014f6616b08ad06663114cc29;hp=b77282ad9c1771814be74a7ffaea47a47359ed9c;hb=ecffb339c8670e3326f64eeb879ef4704152edf3;hpb=381a8f6efe29833017e50090c21c24e769809f97 diff --git a/src/mingw/device.c b/src/mingw/device.c index b77282ad..77787488 100644 --- a/src/mingw/device.c +++ b/src/mingw/device.c @@ -113,7 +113,7 @@ static bool setup_device(void) { get_config_string(lookup_config(config_tree, "Device"), &device); get_config_string(lookup_config(config_tree, "Interface"), &iface); - if(device && interface) + if(device && iface) logger(LOG_WARNING, "Warning: both Device and Interface specified, results may not be as expected"); /* Open registry and look for network adapters */