Commit a35af754 authored by Francesc Guasch's avatar Francesc Guasch
Browse files

refactor(frontend): improved description on client viewer

parent 47378900
......@@ -338,7 +338,7 @@ sub list_domains($self, %args) {
$row->{node} = $domain->_vm->name if $domain->_vm;
$row->{remote_ip} = $domain->client_status
if $domain->client_status && $domain->client_status !~ /^connected/;
if ( $domain->client_status && $domain->client_status =~ /^connected \((.*?)\)/ ) {
if ($domain->remote_ip && $domain->client_status && $domain->client_status =~ /^connected \((.*?)\)/ ) {
$row->{remote_ip} = $domain->remote_ip.".$1";
}
$row->{autostart} = $domain->_data('autostart');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment