flatten tio.Capabilities

This commit is contained in:
JackDoan
2026-05-14 09:50:52 -05:00
parent 37208b1d8f
commit 3192e47ff4
12 changed files with 49 additions and 36 deletions

View File

@@ -284,6 +284,10 @@ func (t *winTun) Readers() []tio.Queue {
return []tio.Queue{t}
}
func (t *winTun) Capabilities() tio.Capabilities {
return tio.Capabilities{}
}
func (t *winTun) Close() error {
// It seems that the Windows networking stack doesn't like it when we destroy interfaces that have active routes,
// so to be certain, just remove everything before destroying.