Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: [Wireshark-dev] Comparing address type

From: Qifan Xi <qxi@xxxxxxxxxxxxxxxxx>
Date: Wed, 26 Nov 2008 17:38:31 -0500
Hi,

I have a need to compare the addresses of two packets. Attempting to use the binary comparison operator, ==, on the packet info's address field fails miserably with "error: invalid operands to binary == (have �address� and �address�)". Is there a relatively pain-free way to perform such a comparison?


Qifan.