Files
x/handler
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
..
2024-10-02 22:51:23 +08:00
2025-08-29 23:36:31 +08:00
2025-08-29 23:36:31 +08:00
2025-11-11 12:37:33 +08:00
2025-08-29 23:36:31 +08:00