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 fdaddea commit 8ceb496Copy full SHA for 8ceb496
pkg/vm/machine.go
@@ -77,17 +77,6 @@ func (i Interface) asTap() string {
77
return buf.String()
78
}
79
80
-// asMACvTap returns the command line argument for this interface as a macvtap
81
-func (i Interface) asMACvTap(fd int) string {
82
- var buf bytes.Buffer
83
- buf.WriteString(fmt.Sprintf("fd=%d", fd))
84
- if len(i.Mac) > 0 {
85
- buf.WriteString(fmt.Sprintf(",mac=%s", i.Mac))
86
- }
87
-
88
- return buf.String()
89
-}
90
91
// getType detects the interface type
92
func (i *Interface) getType() (InterfaceType, int, error) {
93
link, err := netlink.LinkByName(i.Tap)
0 commit comments