X-Git-Url: https://git.librecmc.org/?p=oweals%2Ftinc.git;a=blobdiff_plain;f=src%2Fcygwin%2Fdevice.c;h=935e50727b003efeb2f3bae54f96a48e38c54767;hp=47867a493e8edbb87bfcf53ded1c4ba3a11cfb09;hb=99ad9af6b4a0d1dbcdff4d871e48bb422a945384;hpb=2f03a5d94c0bb6732fd65263217e3aa2b72f18ff diff --git a/src/cygwin/device.c b/src/cygwin/device.c index 47867a4..935e507 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 */