mirror of
https://github.com/yggdrasil-network/water.git
synced 2025-05-19 16:35:10 +03:00
commit
dc106b4195
2 changed files with 2 additions and 1 deletions
|
@ -7,3 +7,4 @@ Lucus Lee <lixin9311@gmail.com>
|
|||
Arroyo Networks, LLC <open.source@arroyonetworks.com>
|
||||
Tony Lu <tonyluj@gmail.com>
|
||||
ajee cai <ajee.cai@gmail.com>
|
||||
yinheli <hi@yinheli.com>
|
|
@ -22,7 +22,7 @@ type ifReq struct {
|
|||
pad [0x28 - 0x10 - 2]byte
|
||||
}
|
||||
|
||||
func ioctl(fd uintptr, request int, argp uintptr) error {
|
||||
func ioctl(fd uintptr, request uintptr, argp uintptr) error {
|
||||
_, _, errno := syscall.Syscall(syscall.SYS_IOCTL, fd, uintptr(request), argp)
|
||||
if errno != 0 {
|
||||
return os.NewSyscallError("ioctl", errno)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue