X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fcygwin%2Fdevice.c;h=935e50727b003efeb2f3bae54f96a48e38c54767;hp=47867a493e8edbb87bfcf53ded1c4ba3a11cfb09;hb=99ad9af6b4a0d1dbcdff4d871e48bb422a945384;hpb=0770cad1fb4d648a2626b0f943714134fe669e5a diff --git a/src/cygwin/device.c b/src/cygwin/device.c index 47867a49..935e5072 100644 --- a/src/cygwin/device.c +++ b/src/cygwin/device.c @@ -61,7 +61,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 */