fix typo
authorLunarShaddow <aflyhorse@hotmail.com>
Mon, 7 Mar 2016 07:42:34 +0000 (15:42 +0800)
committerGuus Sliepen <guus@tinc-vpn.org>
Mon, 7 Mar 2016 20:51:44 +0000 (21:51 +0100)
src/cygwin/device.c

index b04a747..364427b 100644 (file)
@@ -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 */