Commit ac6b3652 authored by Nigel Kukard's avatar Nigel Kukard

Fix wiping of global config in getInterface()

parent bbe147b9
......@@ -818,7 +818,7 @@ sub getInterface
if (defined($config->{'interfaces'}->{$interface})) {
my $res = dclone($config->{'interfaces'}->{$interface});
# We don't really want to return classes
delete($config->{'interfaces'}->{$interface}->{'classes'});
delete($res->{'classes'});
# And return it...
return $res;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment