Skip to content

Commit

Permalink
Revert "define $source"
Browse files Browse the repository at this point in the history
This reverts commit 27b6665.
  • Loading branch information
guillomovitch committed Oct 5, 2012
1 parent 3f9d3a9 commit 3b9e7f2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/FusionInventory/Agent/HTTP/Server.pm
Expand Up @@ -234,8 +234,6 @@ sub _handle_status {
sub _is_trusted {
my ($self, $address) = @_;

my $source = Net::IP->new($address);

return 0 unless $self->{trust};
foreach my $trust (@{$self->{trust}}) {
my $trusted = Net::IP->new($trust);
Expand Down

0 comments on commit 3b9e7f2

Please sign in to comment.