summaryrefslogtreecommitdiff
path: root/trafgen_l2.c
diff options
context:
space:
mode:
Diffstat (limited to 'trafgen_l2.c')
-rw-r--r--trafgen_l2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trafgen_l2.c b/trafgen_l2.c
index e881b06..60da411 100644
--- a/trafgen_l2.c
+++ b/trafgen_l2.c
@@ -10,7 +10,7 @@
#include "trafgen_l2.h"
#include "trafgen_proto.h"
-struct proto_field eth_fields[] = {
+static struct proto_field eth_fields[] = {
{ .id = ETH_DST_ADDR, .len = 6, },
{ .id = ETH_SRC_ADDR, .len = 6, .offset = 6 },
{ .id = ETH_TYPE, .len = 2, .offset = 12 },