X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fcygwin%2Fdevice.c;h=364427bd1d1b76e4105e5f64b4b1062410e82b25;hp=b04a7478d326518f16b9aa97bb52d7d5ebadbf29;hb=af83d0b9e87fe795a3d01d0ee3fb35e0d8579b88;hpb=bf50b3502a022b406424d0d03aaf7670133452b2 diff --git a/src/cygwin/device.c b/src/cygwin/device.c index b04a7478..364427bd 100644 --- a/src/cygwin/device.c +++ b/src/cygwin/device.c @@ -59,7 +59,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 */