mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-10-26 13:06:56 +00:00
21 lines
309 B
Go
21 lines
309 B
Go
//go:build !linux
|
|
|
|
package netns
|
|
|
|
import (
|
|
E "github.com/sagernet/sing/common/exceptions"
|
|
)
|
|
|
|
type holder struct{}
|
|
|
|
func (m *Manager) start() error {
|
|
if len(m.namespaces) > 0 {
|
|
return E.New("network namespaces are only supported on Linux")
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Manager) close() error {
|
|
return nil
|
|
}
|