diff options
author | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2010-10-19 16:13:48 +0000 |
---|---|---|
committer | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2010-10-19 16:13:48 +0000 |
commit | 9226bc1d114c74ba10337f61748d5d7a53496368 (patch) | |
tree | 916563012a95043b3508a8f8e7216a7ed5ee16cd /text2pcap.c | |
parent | 821a534d99a487d08fb935016f7298ff5e95fcaa (diff) |
Change dummy MAC addresses so we don't get Wireshark expert message:
"[...] Source MAC must not be a group address: IEEE 802.3-2002, Section 3.2.3(b)"
Specifically: use 0a:01:01:01:01:01 and 0a:02:02:02;02:02 (and dummy IP addresses
10.1.1.1 and 10.2.2.2).
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34571 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'text2pcap.c')
-rw-r--r-- | text2pcap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/text2pcap.c b/text2pcap.c index f75a9f48df..4b0ee8a236 100644 --- a/text2pcap.c +++ b/text2pcap.c @@ -250,8 +250,8 @@ typedef struct { } hdr_ethernet_t; static hdr_ethernet_t HDR_ETHERNET = { - {0x02, 0x02, 0x02, 0x02, 0x02, 0x02}, - {0x01, 0x01, 0x01, 0x01, 0x01, 0x01}, + {0x0a, 0x02, 0x02, 0x02, 0x02, 0x02}, + {0x0a, 0x01, 0x01, 0x01, 0x01, 0x01}, 0}; typedef struct { @@ -268,7 +268,7 @@ typedef struct { guint32 dest_addr; } hdr_ip_t; -static hdr_ip_t HDR_IP = {0x45, 0, 0, 0x3412, 0, 0, 0xff, 0, 0, 0x01010101, 0x02020202}; +static hdr_ip_t HDR_IP = {0x45, 0, 0, 0x3412, 0, 0, 0xff, 0, 0, 0x0101010a, 0x0202020a}; static struct { /* pseudo header for checksum calculation */ guint32 src_addr; |