mirror of
https://github.com/openvswitch/ovs
synced 2025-10-21 14:49:41 +00:00
test-aa: Make variables local to this file static.
Found by sparse. Signed-off-by: Ben Pfaff <blp@nicira.com>
This commit is contained in:
@@ -26,14 +26,14 @@
|
|||||||
#define ETH_TYPE_LLDP 0x88cc
|
#define ETH_TYPE_LLDP 0x88cc
|
||||||
|
|
||||||
/* Dummy MAC addresses */
|
/* Dummy MAC addresses */
|
||||||
char chassis_mac[ETHER_ADDR_LEN] = { 0x5e, 0x10, 0x8e, 0xe7, 0x84, 0xad };
|
static char chassis_mac[ETH_ADDR_LEN] = { 0x5e, 0x10, 0x8e, 0xe7, 0x84, 0xad };
|
||||||
uint8_t eth_src[ETHER_ADDR_LEN] = { 0x5e, 0x10, 0x8e, 0xe7, 0x84, 0xad };
|
static uint8_t eth_src[ETH_ADDR_LEN] = { 0x5e, 0x10, 0x8e, 0xe7, 0x84, 0xad };
|
||||||
|
|
||||||
/* LLDP multicast address */
|
/* LLDP multicast address */
|
||||||
static const uint8_t eth_addr_lldp[6] = {0x01, 0x80, 0xC2, 0x00, 0x00, 0x0e};
|
static const uint8_t eth_addr_lldp[6] = {0x01, 0x80, 0xC2, 0x00, 0x00, 0x0e};
|
||||||
|
|
||||||
/* Count of tests run */
|
/* Count of tests run */
|
||||||
int num_tests = 0;
|
static int num_tests = 0;
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user