This commit is contained in:
LunarShaddow 2016-03-07 15:42:34 +08:00 committed by Guus Sliepen
parent bf50b3502a
commit af83d0b9e8

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