aboutsummaryrefslogtreecommitdiff
path: root/examples/dbload
diff options
context:
space:
mode:
Diffstat (limited to 'examples/dbload')
-rwxr-xr-xexamples/dbload4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/dbload b/examples/dbload
index 245ace2..4502d55 100755
--- a/examples/dbload
+++ b/examples/dbload
@@ -179,7 +179,7 @@ L<DBI>.
use strict;
use warnings;
use JSON;
-use LWP::Ping903;
+use LWP::UserAgent;
use DBI;
use Getopt::Long qw(:config gnu_getopt no_ignore_case);
use File::Spec;
@@ -253,7 +253,7 @@ my $json_text = JSON->new->encode({
'ip-list' => [ map { $_->[0] } @$res ]
});
-my $ua = new LWP::Ping903;
+my $ua = new LWP::UserAgent;
my $response = $ua->post("$baseurl/config/ip-list",
'Content-Type' => 'application/json',

Return to:

Send suggestions and report system problems to the System administrator.