fix typo
[oweals/tinc.git] / src / cygwin / device.c
index 47867a493e8edbb87bfcf53ded1c4ba3a11cfb09..935e50727b003efeb2f3bae54f96a48e38c54767 100644 (file)
@@ -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 */