Use iface instead of interface.
authorGuus Sliepen <guus@tinc-vpn.org>
Fri, 8 Apr 2016 16:09:30 +0000 (18:09 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Fri, 8 Apr 2016 16:09:30 +0000 (18:09 +0200)
This was accidentally added in commit 2f03a5d.

src/mingw/device.c

index b77282a..7778748 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);
 
        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 */