Fix compiling under MinGW.
authorGuus Sliepen <guus@tinc-vpn.org>
Thu, 14 Apr 2016 15:05:10 +0000 (17:05 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Thu, 14 Apr 2016 15:05:10 +0000 (17:05 +0200)
src/mingw/device.c

index cc65264..b047615 100644 (file)
@@ -102,7 +102,7 @@ static bool setup_device(void) {
        get_config_string(lookup_config(config_tree, "Interface"), &iface);
 
        if(device && iface)
-               logger(LOG_WARNING, "Warning: both Device and Interface specified, results may not be as expected");
+               logger(DEBUG_ALWAYS, LOG_WARNING, "Warning: both Device and Interface specified, results may not be as expected");
 
        /* Open registry and look for network adapters */