|
I am making a custom dissector that needs to be able to find the source ip address of a packet and compare it with the IP address of the host computer. How would I be able to find the source IP address? Thanks in advance for any help. |
|
I just figured it out, but for anyone who is having trouble with the same type of thing, you can output your source ip address as a string with ip_to_str(pinfo->src.data) Note that
(23 Jul '12, 15:22)
Guy Harris ♦♦
|
