We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 061cccd commit 29558d3Copy full SHA for 29558d3
if.go
@@ -3,7 +3,6 @@ package water
3
import (
4
"errors"
5
"io"
6
- "os"
7
)
8
9
// Interface is a TUN/TAP interface.
@@ -78,8 +77,3 @@ func (ifce *Interface) IsTAP() bool {
78
77
func (ifce *Interface) Name() string {
79
return ifce.name
80
}
81
-
82
-// FD returns the underlying File object, which will be needed to ioctl later
83
-func (ifce *Interface) FD() *os.File {
84
- return ifce.ReadWriteCloser.(*os.File)
85
-}
0 commit comments