07Jul20=======================================================================
1. Fix show/node command.
+2. Fix show/cluster command to take into account the presence of skimmer nodes
+ which are a new category of thing which is neither a node nor a user.
06Jul20=======================================================================
1. Add RBN.mojo with information of the RBN capabilities of DXSpider.
05Jul20=======================================================================
my ($nodes, $tot, $users, $maxlocalusers, $maxusers, $uptime, $localnodes) = Route::cluster();
+$localnodes = $main::routeroot->nodes;
+$users = $main::routeroot->users;
+
return (1, $self->msg('cluster', $localnodes, $nodes, $users, $tot, $maxlocalusers, $maxusers, $uptime));
{
my $nodes = Route::Node::count();
my $tot = Route::User::count();
- my ($users, $maxlocalusers) = DXCommandmode::user_count();
+ my ($users, $maxlocalusers) = DXCommandmode::user_count(); # the user count is wrong because of skimmers
my $maxusers = Route::User::max();
my $uptime = main::uptime();
- my $localnodes = $DXChannel::count - $users;
+ my $localnodes = $DXChannel::count - $users; # this is now wrong because of skimmers
return ($nodes, $tot, $users, $maxlocalusers, $maxusers, $uptime, $localnodes);