You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The "from" return value of syscall.Recvfrom on a raw socket should not be
SockaddrUnix
What steps reproduce the problem?
sock, _ = syscall.Socket(syscall.AF_INET, syscall.SOCK_PACKET,
int(htons(syscall.ETH_P_ARP)))
_, from, err := syscall.Recvfrom(sock, buf, 0)
The type of from is SockaddrUnix so that the "from" returned can not used to
syscall.Sendto