aboutsummaryrefslogtreecommitdiff
path: root/writeups
diff options
context:
space:
mode:
authorDavid Timber <dxdt@dev.snart.me>2024-11-22 17:37:04 +0100
committerDavid Timber <dxdt@dev.snart.me>2024-11-22 17:37:04 +0100
commitb2feb76dc31297fb42c481b9b751eafa5ce00ca5 (patch)
treeb2829c39a6f12cdccbc06aecf89b8b7820a65d35 /writeups
parent12c0200ca462ba72792417f3a2071d02ff4fe498 (diff)
Patch writeups/ipv6/eyeball/eyeball.c ...
- Increase Resolution Delay to 300 ms
Diffstat (limited to 'writeups')
-rw-r--r--writeups/ipv6/eyeball/eyeball.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/writeups/ipv6/eyeball/eyeball.c b/writeups/ipv6/eyeball/eyeball.c
index 32a6033..af08ccf 100644
--- a/writeups/ipv6/eyeball/eyeball.c
+++ b/writeups/ipv6/eyeball/eyeball.c
@@ -26,7 +26,9 @@
#include <pthread.h>
#define ARGV0 "eyeball"
-#define DEFAULT_RES_DELAY 0.05
+// RFC 6555: 300 ms preferential delay
+// "Resolution Delay" as per RFC 8305 section 3: 50 ms
+#define DEFAULT_RES_DELAY 0.3 // 300 ms
void ts_sub (
@@ -269,7 +271,6 @@ void init_opts (void) {
// connection timeout: 10 s
opts.op_timeout.tv_sec = 10;
opts.op_timeout.tv_nsec = 0;
- // "Resolution Delay" as per RFC 8305 section 3: 50 ms
opts.res_delay = DEFAULT_RES_DELAY;
}