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
What steps will reproduce the problem?
1. Create a sample program using pcap and handle packets for layers
It does not compile because of missing function sockaddr_to_IP.
What is the expected output? What do you see instead?
sockaddr_to_IP needs to be defined in the source or imported
What version of the product are you using? On what operating system?
checked out today (02/02/2013) linux 64 bit
Please provide any additional information below.
It is used but not defined somewhere.
./pcap/pcap.go: if a.IP, err =
sockaddr_to_IP((*syscall.RawSockaddr)(unsafe.Pointer(curaddr.addr))); err !=
nil {
./pcap/pcap.go: if a.Netmask, err =
sockaddr_to_IP((*syscall.RawSockaddr)(unsafe.Pointer(curaddr.addr))); err !=
nil {
Does lead to compilation error.
Original issue reported on code.google.com by m...@danielgruber.com on 2 Feb 2013 at 10:49
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
m...@danielgruber.com
on 2 Feb 2013 at 10:49The text was updated successfully, but these errors were encountered: