From 47db8c3ce8cd3013bb3ef92034b5979b214a87c5 Mon Sep 17 00:00:00 2001 From: Omid Date: Thu, 30 Oct 2025 12:59:07 +0330 Subject: [PATCH] Fix typos in comments --- intra/ipn/wgproxy.go | 2 +- intra/netstat/procfs.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/intra/ipn/wgproxy.go b/intra/ipn/wgproxy.go index 973add41..737b8f9a 100644 --- a/intra/ipn/wgproxy.go +++ b/intra/ipn/wgproxy.go @@ -1545,7 +1545,7 @@ func (h *wgtun) listener(op wg.PktDir, err error) { s = TNT why = "TNT: could not open conn" } else if op == wg.Rcv && timedout(err) { - s = TZZ // wirtes and reads have succeeded in the recent past + s = TZZ // writes and reads have succeeded in the recent past why = "TZZ: timeout" } else { s = TKO diff --git a/intra/netstat/procfs.go b/intra/netstat/procfs.go index 4872067f..734a43f4 100644 --- a/intra/netstat/procfs.go +++ b/intra/netstat/procfs.go @@ -38,7 +38,7 @@ var ( // destination `([a-f0-9]{8,32}):([a-f0-9]{4})\s+` + `[a-f0-9]{2}\s+` + // st - // transfer queue, recieve queue + // transfer queue, receive queue `[a-f0-9]{8}:[a-f0-9]{8}\s+` + // tr tm->when `[a-f0-9]{2}:[a-f0-9]{8}\s+` +