From 611d9df742c7429541b275b933fb991ddea82524 Mon Sep 17 00:00:00 2001 From: Andrea Leardini Date: Wed, 3 Nov 2021 10:33:16 +0100 Subject: [PATCH 1/2] analysis api. fix multiwan status NethServer/dev#6593 --- api/troubleshooting/read | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/api/troubleshooting/read b/api/troubleshooting/read index 9de8536e..82c67ba1 100755 --- a/api/troubleshooting/read +++ b/api/troubleshooting/read @@ -263,7 +263,9 @@ if ($cmd eq 'ping') { $count++; my $file = '/var/lib/shorewall/'.$_->key.'.status'; if (-f $file) { - if (slurp($file) eq '1') { + my $status = slurp($file); + chomp($status); + if ($status eq '1') { $failed++; } } From 6cb73efbaacc07e67d643adb0e428861c2d50acf Mon Sep 17 00:00:00 2001 From: Andrea Leardini Date: Wed, 3 Nov 2021 11:44:31 +0100 Subject: [PATCH 2/2] analysis ui. fix interface down icon NethServer/dev#6593 --- ui/src/components/TroubleshootingNetwork.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/components/TroubleshootingNetwork.vue b/ui/src/components/TroubleshootingNetwork.vue index 629ebacd..7fc575df 100644 --- a/ui/src/components/TroubleshootingNetwork.vue +++ b/ui/src/components/TroubleshootingNetwork.vue @@ -92,7 +92,7 @@ >