diff --git a/src/warden-client/bin/info.pl b/src/warden-client/bin/info.pl index 3a9d29422bd2a98ab9a713eba180694b8c65e803..fff04f9c81feee8427b0ff6304ae6f0aae14293e 100755 --- a/src/warden-client/bin/info.pl +++ b/src/warden-client/bin/info.pl @@ -1,10 +1,11 @@ -#!/usr/bin/perl -w +#!/usr/bin/perl # -# Copyright (C) 2011-2013 Cesnet z.s.p.o +# Copyright (C) 2011-2015 Cesnet z.s.p.o # # Use of this source is governed by a BSD-style license, see LICENSE file. use strict; +use warnings; #------------------------------------------------------------------------------ # Warden 2.2 Client, Info, Example @@ -23,7 +24,7 @@ my $warden_path = '/opt/warden-client/'; # Inclusion of warden-client receiving functionality require $warden_path . '/lib/WardenClientCommon.pm'; -my @clients = WardenClientCommon::getClientsInfo($warden_path) or exit 1; # receive data or exit +my @clients = WardenClient::getClientInfo() or exit 1; # receive data or exit print "+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n"; print "| Client ID | Hostname | Registered | Requestor | Service | CT | Type | ROE | Description tags | IP Net Client |\n";