summaryrefslogtreecommitdiff
path: root/infra/packet_manager
diff options
context:
space:
mode:
Diffstat (limited to 'infra/packet_manager')
-rw-r--r--infra/packet_manager/packet_helper.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/infra/packet_manager/packet_helper.h b/infra/packet_manager/packet_helper.h
index c14b71f..8d23d1c 100644
--- a/infra/packet_manager/packet_helper.h
+++ b/infra/packet_manager/packet_helper.h
@@ -405,6 +405,8 @@ static inline uint16_t gre0_hdr_get_offset(const struct gre0_hdr *hdr)
}
}
+#pragma GCC diagnostic warning "-Warray-bounds"
+
static inline uint32_t gre0_hdr_get_key(const struct gre0_hdr *hdr)
{
if (gre0_hdr_get_key_flag(hdr))