Skip to content

sockaddr_to_IP function missing #1

@GoogleCodeExporter

Description

@GoogleCodeExporter
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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions