diff options
Diffstat (limited to 'pkg/server/socket/tun.go')
| -rw-r--r-- | pkg/server/socket/tun.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/server/socket/tun.go b/pkg/server/socket/tun.go index 7336c04..d48c30c 100644 --- a/pkg/server/socket/tun.go +++ b/pkg/server/socket/tun.go @@ -43,6 +43,8 @@ func (s *tunSocket) String() string { return fmt.Sprintf("tun/%s", s.name) } +func (s *tunSocket) Single() {} + func (s *tunSocket) Open(env.Env) (Conn, error) { fd, err := unix.Open("/dev/net/tun", unix.O_RDWR, 0) if err != nil { |
