]> tinc-vpn.org Git - tinc/blobdiff - src/mingw/device.c
Use iface instead of interface.
[tinc] / src / mingw / device.c
index 7a462ba54bfebbafa654aebde59abac5dc6d0610..cc65264fa99b374374d380ea48bd3dc942aef511 100644 (file)
@@ -101,7 +101,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 */