Files
x/listener
ginuerzh 078cdbcb81 fix(listener/tap): support custom TAP adapter name on Windows (issue #772)
The songgao/water library's InterfaceName parameter is a selection filter
that searches the Windows registry for an existing adapter with a matching
friendly name — it cannot name a new adapter during creation. Passing
name=tap0 caused the library to fail before even creating the adapter.

Fix by omitting InterfaceName from water.New(), letting Windows auto-name
the adapter, then renaming via netsh if a custom name was specified.

Also add directory validation to file handler to catch misconfig early.
2026-06-08 20:05:57 +08:00
..
2025-09-07 14:20:05 +08:00
2025-01-20 23:22:58 +08:00
2026-04-21 21:34:50 +08:00
2025-01-20 23:22:58 +08:00
2025-08-29 23:36:31 +08:00
2025-01-20 23:22:58 +08:00
2025-06-25 21:06:23 +08:00
2025-08-29 23:36:31 +08:00
2025-08-29 23:36:31 +08:00
2025-01-20 23:22:58 +08:00
2025-08-09 19:19:04 +08:00
2025-08-09 19:19:04 +08:00
2025-08-29 23:36:31 +08:00