tcpdump mailing list archives
Re: Data from packet dissector looks really weird
From: alex medvedev <alexm () pycckue org>
Date: Tue, 29 Jun 2004 14:26:07 -0500 (CDT)
hallo, from the ether_ntoa man page: The string is returned in a statically allocated buffer, which subsequent calls will overwrite. maybe a strcpy() after each call will solve it? :) -alexm 13:42 29/06/2004 On Tue, 29 Jun 2004, Claudio Lavecchia wrote:
/* LOOK AT THIS CAREFULLY!!!*/ src_mac_address = ether_ntoa(ethernet->ether_shost); dst_mac_address = ether_ntoa(ethernet->ether_dhost);
- This is the tcpdump-workers list. Visit https://lists.sandelman.ca/ to unsubscribe.
Current thread:
- Data from packet dissector looks really weird Claudio Lavecchia (Jun 29)
- <Possible follow-ups>
- Re: Data from packet dissector looks really weird alex medvedev (Jun 29)
