Wireshark mailing list archives
Re: Wireshark Lua question.
From: Guy Harris <guy () alum mit edu>
Date: Mon, 5 Oct 2009 14:10:20 -0700
On Oct 5, 2009, at 1:50 PM, Stig Bjørlykke wrote:
You can use two methods to fetch the IP address: 1. The value in the "Source" column can be fetched from pinfo.src. 2. The value in "ip.src" can be fetched using a Field:
I would suggest pinfo.src, as that way you can handle both IPv4 and IPv6 - ip.src doesn't exist if TCP is being carried over IPv6. ___________________________________________________________________________ Sent via: Wireshark-users mailing list <wireshark-users () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-users Unsubscribe: https://wireshark.org/mailman/options/wireshark-users mailto:wireshark-users-request () wireshark org?subject=unsubscribe
Current thread:
- Wireshark Lua question. Morita, Bill (Oct 05)
- Re: Wireshark Lua question. Stig Bjørlykke (Oct 05)
- Re: Wireshark Lua question. Guy Harris (Oct 05)
- Re: Wireshark Lua question. Stig Bjørlykke (Oct 05)