Use iface instead of interface.
[oweals/tinc.git] / src / mingw / device.c
index b77282ad9c1771814be74a7ffaea47a47359ed9c..777874887c98072014f6616b08ad06663114cc29 100644 (file)
@@ -113,7 +113,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 */