-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
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
Reactions are currently unavailable