[dpdk-dev] [PATCH v2 07/10] app/test: use struct ether_addr instead of a byte array cast
Stephen Hemminger
stephen at networkplumber.org
Mon Jun 22 03:56:24 CEST 2015
On Fri, 19 Jun 2015 10:34:50 -0700
Cyril Chemparathy <cchemparathy at ezchip.com> wrote:
> + static struct ether_addr src_mac =
> + { { 0x00, 0xFF, 0xAA, 0xFF, 0xAA, 0xFF } };
> + static struct ether_addr dst_mac =
> + { { 0x00, 0xAA, 0xFF, 0xAA, 0xFF, 0xAA } };
>
Should have been const (in original code).
More information about the dev
mailing list