Skip to content
Snippets Groups Projects
Commit d174ac41 authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

BUGFIX the threshold maxhops is too small

parent b9fafad6
No related branches found
No related tags found
No related merge requests found
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
<project version="4"> <project version="4">
<component name="ProjectModuleManager"> <component name="ProjectModuleManager">
<modules> <modules>
<module fileurl="file://$PROJECT_DIR$/../../../../utilities/network/connection-checker/connection-checker.iml" filepath="$PROJECT_DIR$/../../../../utilities/network/connection-checker/connection-checker.iml" />
<module fileurl="file://$PROJECT_DIR$/traceroute.iml" filepath="$PROJECT_DIR$/traceroute.iml" /> <module fileurl="file://$PROJECT_DIR$/traceroute.iml" filepath="$PROJECT_DIR$/traceroute.iml" />
</modules> </modules>
</component> </component>
......
...@@ -217,7 +217,7 @@ func (s *Session) doTrace(cb func(i int) Result) (*Results, error) { ...@@ -217,7 +217,7 @@ func (s *Session) doTrace(cb func(i int) Result) (*Results, error) {
results := Results{} results := Results{}
for i := 1; i < s.MaxHops; i++ { for i := 1; i <= s.MaxHops; i++ {
r := cb(i) r := cb(i)
results.Hops = append(results.Hops, r) results.Hops = append(results.Hops, r)
if s.CallBack != nil { if s.CallBack != nil {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment