]> tinc-vpn.org Git - tinc/blobdiff - src/mingw/device.c
Update support for BSD tun/tap devices, add support for OS X utun interfaces.
[tinc] / src / mingw / device.c
index 231a264de1ac09241c4a3e94bf877b3b0b0b57ed..cc65264fa99b374374d380ea48bd3dc942aef511 100644 (file)
@@ -101,6 +101,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)) {