summaryrefslogtreecommitdiff
path: root/include/uapi/linux/seg6.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/uapi/linux/seg6.h')
-rw-r--r--include/uapi/linux/seg6.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/seg6.h b/include/uapi/linux/seg6.h
index 286e8d6a8e98..13bcbc8bba32 100644
--- a/include/uapi/linux/seg6.h
+++ b/include/uapi/linux/seg6.h
@@ -30,7 +30,7 @@ struct ipv6_sr_hdr {
__u8 flags;
__u16 tag;
- struct in6_addr segments[0];
+ struct in6_addr segments[];
};
#define SR6_FLAG1_PROTECTED (1 << 6)