X-Git-Url: http://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fcygwin%2Fdevice.c;h=935e50727b003efeb2f3bae54f96a48e38c54767;hb=99ad9af6b4a0d1dbcdff4d871e48bb422a945384;hp=b582a6a962c99be9fb729af0b6f5d1f8fa60ea22;hpb=68f4ca711593416d0defd81199b176ba604c6cb1;p=tinc diff --git a/src/cygwin/device.c b/src/cygwin/device.c index b582a6a9..935e5072 100644 --- a/src/cygwin/device.c +++ b/src/cygwin/device.c @@ -61,6 +61,9 @@ 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 && iface) + logger(LOG_WARNING, "Warning: both Device and Interface specified, results may not be as expected"); + /* Open registry and look for network adapters */ if(RegOpenKeyEx(HKEY_LOCAL_MACHINE, NETWORK_CONNECTIONS_KEY, 0, KEY_READ, &key)) {