fix typo
authorLunarShaddow <aflyhorse@hotmail.com>
Mon, 7 Mar 2016 07:42:34 +0000 (15:42 +0800)
committerLunarShaddow <aflyhorse@hotmail.com>
Mon, 7 Mar 2016 07:42:34 +0000 (15:42 +0800)
src/cygwin/device.c

index 47867a4..935e507 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);
 
        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 */
                logger(LOG_WARNING, "Warning: both Device and Interface specified, results may not be as expected");
 
        /* Open registry and look for network adapters */