1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
From: Daniel Swarbrick <dswarbrick@debian.org>
Date: Sun, 1 Dec 2024 22:05:35 +0100
Subject: Do not set default traffic class
Do not set default traffic class 192 (DSCP CS6) in pinger, as it seems
to result in flaky responses with some devices.
Bug: https://github.com/prometheus-community/pro-bing/issues/134
---
ping.go | 1 -
1 file changed, 1 deletion(-)
diff --git a/ping.go b/ping.go
index c12f2cb..dc38fe4 100644
--- a/ping.go
+++ b/ping.go
@@ -116,7 +116,6 @@ func New(addr string) *Pinger {
protocol: "udp",
awaitingSequences: firstSequence,
TTL: 64,
- tclass: 192, // CS6 (network control)
logger: StdLogger{Logger: log.New(log.Writer(), log.Prefix(), log.Flags())},
}
}
|