2
0
mirror of https://github.com/knorrie/network-examples synced 2025-08-30 22:16:11 +00:00

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.
This commit is contained in:
Hans van Kranenburg
2017-11-14 23:38:53 +01:00
parent 815d129e72
commit cf4895f787

View File

@@ -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