diff --git a/network/fritzbox/mode/libgetdata.pm b/network/fritzbox/mode/libgetdata.pm index df7f5de3a..1fecf5165 100644 --- a/network/fritzbox/mode/libgetdata.pm +++ b/network/fritzbox/mode/libgetdata.pm @@ -39,6 +39,7 @@ use base qw(centreon::plugins::mode); use strict; use warnings; +use SOAP::Lite; my $soap; my $response; diff --git a/network/fritzbox/plugin.pm b/network/fritzbox/plugin.pm index 2d231f009..e2510c536 100644 --- a/network/fritzbox/plugin.pm +++ b/network/fritzbox/plugin.pm @@ -79,7 +79,6 @@ package network::fritzbox::plugin; use strict; use warnings; use base qw(centreon::plugins::script_simple); -use SOAP::Lite; sub new { my ($class, %options) = @_;