We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 76f967e commit ec11c5aCopy full SHA for ec11c5a
1 file changed
stats.go
@@ -112,18 +112,20 @@ func (t *TraceRoute) Stats() error {
112
t.LastArrived += 1
113
if t.LastArrived == t.MaxPath {
114
t.Stop()
115
+ return nil
116
}
117
118
119
default:
120
//监听stop信号
121
if atomic.LoadInt32(t.stopSignal) == 1 {
- break
122
123
124
125
126
127
128
129
130
131
type HopData struct {
0 commit comments