From 32fc3beefe883c5833f2b39c2f8bb2bd42ac685e Mon Sep 17 00:00:00 2001 From: Michael Tuexen <tuexen@fh-muenster.de> Date: Sun, 29 Apr 2018 19:36:48 +0200 Subject: [PATCH] No arrays of length 0... --- gtests/net/packetdrill/tun.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtests/net/packetdrill/tun.h b/gtests/net/packetdrill/tun.h index 6a282015..d6187c55 100644 --- a/gtests/net/packetdrill/tun.h +++ b/gtests/net/packetdrill/tun.h @@ -111,7 +111,7 @@ struct tun_pi { struct tun_filter { __u16 flags; /* TUN_FLT_ flags see above */ __u16 count; /* Number of addresses */ - __u8 addr[0][ETH_ALEN]; + __u8 addr[][ETH_ALEN]; }; #endif /* __TUN_H__ */ -- GitLab