Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump tcpping to 1.8 #165

Merged
merged 1 commit into from
Nov 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 <[email protected]>
# 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