ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

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.