Use iface instead of interface.

This was accidentally added in commit 2f03a5d.
This commit is contained in:
Guus Sliepen 2016-04-08 18:09:30 +02:00
parent 6f97c00115
commit e355088535

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