This commit is contained in:
Oliver Gorwits
2017-05-20 16:15:56 +01:00
parent 845c1a20ff
commit 47a5f40efe

View File

@@ -67,7 +67,7 @@ sub set_canonical_ip {
next if $alias->alias eq $old_ip;
foreach my $this (keys %$idmap) {
$anded_this = [(ref $this ? @$this : $this), 'op:and'];
my $anded_this = [(ref $this ? @$this : $this), 'op:and'];
# lhs of device_identity matches device, rhs matches device_ip
if (check_acl($device, $anded_this)