X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fmingw%2Fdevice.c;h=cc65264fa99b374374d380ea48bd3dc942aef511;hp=7a462ba54bfebbafa654aebde59abac5dc6d0610;hb=e355088535ee9ebb12a4db0043bf6a9743085b28;hpb=6f97c0011572a1e12fa6267068b7f3fd46ceffd8 diff --git a/src/mingw/device.c b/src/mingw/device.c index 7a462ba5..cc65264f 100644 --- a/src/mingw/device.c +++ b/src/mingw/device.c @@ -101,7 +101,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 */