TUN inbound: Consolidate files and remove unneeded tests; Rename wfp_leak.go to wfp_block.go (#7482)

https://github.com/XTLS/Xray-core/pull/7460#issuecomment-7131171930

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
patterniha
2026-11-25 12:29:26 +00:00
committed by GitHub
co-authored by Claude Opus 5.5
parent 35805f9377
commit 862e59a2f2
16 changed files with 743 additions and 979 deletions
+1
View File
@@ -159,6 +159,7 @@ func TestTunConfigGUID(t *testing.T) {
for _, guid := range []string{
"xray0",
"6ba7b810-9dad-11d1-80b4-00c04fd430c",
"6ba7b8109-dad-11d1-80b4-00c04fd430c8", // the right length, a hyphen out of place
"6ba7b8109dad11d180b400c04fd430c8",
"{6ba7b810-9dad-11d1-80b4-00c04fd430c8}",
"urn:uuid:6ba7b810-9dad-11d1-80b4-00c04fd430c8",