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). svn path=/trunk/; revision=34571
This commit is contained in:
parent
88622252b1
commit
6e011bbf6e
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue