Skip to content

Commit

Permalink
Perform three measurements in interleaved mode
Browse files Browse the repository at this point in the history
  • Loading branch information
marcfrei committed Sep 18, 2023
1 parent d6ede91 commit dda5308
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func MeasureClockOffsetIP(ctx context.Context, log *zap.Logger,
var off time.Duration
var nerr, n int
if ntpc.InterleavedMode {
n = 2
n = 3
} else {
n = 1
}
Expand Down Expand Up @@ -131,7 +131,7 @@ func MeasureClockOffsetSCION(ctx context.Context, log *zap.Logger,
)
if ntpc.InterleavedMode {
ntpc.ResetInterleavedMode()
n = 2
n = 3
} else {
n = 1
}
Expand Down

0 comments on commit dda5308

Please sign in to comment.