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=1ceea259c3ba5efb9b8b12161e75256270ba4804 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 */