Skip to content
Snippets Groups Projects
Commit a0c003b6 authored by Jan Soukal's avatar Jan Soukal
Browse files

drobne upravy v ramci ukolu #609

parent 0f59a4cf
No related branches found
No related tags found
No related merge requests found
...@@ -23,7 +23,7 @@ my $warden_path = '/home/soukal/pokus/warden/warden-client/'; ...@@ -23,7 +23,7 @@ my $warden_path = '/home/soukal/pokus/warden/warden-client/';
# Inclusion of warden-client receiving functionality # Inclusion of warden-client receiving functionality
require $warden_path . '/lib/WardenClientCommon.pm'; require $warden_path . '/lib/WardenClientCommon.pm';
my @clients = WardenClientCommon::getClientInfo($warden_path); my @clients = WardenClientCommon::getClientsInfo($warden_path) or exit 1; # receive data or exit
print "+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n"; print "+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n";
print "| Client ID | Hostname | Registered | Requestor | Service | CT | Type | ROE | Description tags | IP Net Client |\n"; print "| Client ID | Hostname | Registered | Requestor | Service | CT | Type | ROE | Description tags | IP Net Client |\n";
......
...@@ -140,9 +140,9 @@ sub c2s ...@@ -140,9 +140,9 @@ sub c2s
} }
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
# getClientInfo - retrieve information about other clients from Warden server # getClientsInfo - retrieve information about other clients from Warden server
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
sub getClientInfo sub getClientsInfo
{ {
my $warden_path = shift; my $warden_path = shift;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment