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 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 */