Skip to content

Commit

Permalink
Bump tcpping to 1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
thespad committed Nov 29, 2023
1 parent 9388b49 commit 9d48998
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
1 change: 1 addition & 0 deletions readme-vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ app_setup_block: |
# changelog
changelogs:
- { date: "29.11.23:", desc: "Bump tcpping to 1.8." }
- { date: "21.11.23:", desc: "Add support for IRTT Probes." }
- { date: "23.07.23:", desc: "Add Authen::TacacsPlus for Tacacs+ support." }
- { date: "16.05.23:", desc: "Add perl-authen-radius for Radius support." }
Expand Down
11 changes: 8 additions & 3 deletions root/defaults/tcpping
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@
# 2007/01/11 v1.5 catch bad destination addresses
# 2007/01/19 v1.6 catch non-root tcptraceroute
# 2008/02/10 v1.7 make -C work when reverse lookup fails, courtesy of Fabrice Le Dorze <Fabrice.LeDorze@apx.fr>
# 2010/06/04 v1.8 make -C work when ipaddress doesn't reply, courtesy of Yann Beulque


ver="v1.7"
ver="v1.8"
format="%Y%m%d%H%M%S"
d="no"
c="no"
Expand Down Expand Up @@ -55,7 +56,7 @@ _checksite() {
exit
fi
}

_testsite() {
myseq="${1}"
shift
Expand All @@ -77,7 +78,11 @@ _testsite() {
echo -n "$1 :"
fi
if [ "x${rtt}" != "x" -a "x${not}" = "x" ]; then
echo -n " $rtt"
if [ $rtt != "255" ]; then
echo -n " $rtt"
else
echo -n " -"
fi
else
echo -n " -"
fi
Expand Down

0 comments on commit 9d48998

Please sign in to comment.