From cf4895f7876efd84abfa88ba25c3b1ceb665cf9c Mon Sep 17 00:00:00 2001 From: Hans van Kranenburg Date: Tue, 14 Nov 2017 23:38:53 +0100 Subject: [PATCH] bgp-contd: check-connectivity: also print OK Argh, if everything is OK the script wouldn't generate any output, which is also confusing. So, just show everything that is happening... The amount of routers in the example is not that big. --- bgp-contd/lxc/check_connectivity.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bgp-contd/lxc/check_connectivity.sh b/bgp-contd/lxc/check_connectivity.sh index b4969fc..c19ba21 100755 --- a/bgp-contd/lxc/check_connectivity.sh +++ b/bgp-contd/lxc/check_connectivity.sh @@ -9,8 +9,8 @@ do if [ $? -ne 0 ] then echo "[FAIL] R$src -> R$dst" - #else - # echo "[OK] R$src -> R$dst" + else + echo "[OK] R$src -> R$dst" fi done done