mirror of
https://github.com/rancher/os.git
synced 2025-09-02 23:34:57 +00:00
move dependencies to vendor
This commit is contained in:
28
vendor/github.com/j-keck/arping/arping_windows.go
generated
vendored
Normal file
28
vendor/github.com/j-keck/arping/arping_windows.go
generated
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
// windows currently not supported.
|
||||
// dummy implementation to prevent compilation errors under windows
|
||||
|
||||
package arping
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"net"
|
||||
"time"
|
||||
)
|
||||
|
||||
var errWindowsNotSupported = errors.New("arping under windows not supported")
|
||||
|
||||
func initialize(iface net.Interface) error {
|
||||
return errWindowsNotSupported
|
||||
}
|
||||
|
||||
func send(request arpDatagram) (time.Time, error) {
|
||||
return time.Now(), errWindowsNotSupported
|
||||
}
|
||||
|
||||
func receive() (arpDatagram, time.Time, error) {
|
||||
return arpDatagram{}, time.Now(), errWindowsNotSupported
|
||||
}
|
||||
|
||||
func deinitialize() error {
|
||||
return errWindowsNotSupported
|
||||
}
|
Reference in New Issue
Block a user