summaryrefslogtreecommitdiff
path: root/include/linux/seg6.h
diff options
context:
space:
mode:
authorRuss White <russ@riw.us>2023-09-20 23:09:35 -0400
committerGitHub <noreply@github.com>2023-09-20 23:09:35 -0400
commit90d19d1489c7237acaad7dfa79af2080301ad60d (patch)
tree59d903742e50c7d36edf22cfcd98cff736fbf063 /include/linux/seg6.h
parent0c9aabe76040dff04c76b127f92087236a623451 (diff)
parent9f3ceabd490a4ab90dd8e8b74b4d16117edd8c10 (diff)
Merge pull request #14089 from dmytroshytyi-6WIND/srv6_multiple_segs_sids
bgpd,doc,lib,sharpd,staticd,yang,zebra: SRv6 multiple segs SIDs
Diffstat (limited to 'include/linux/seg6.h')
-rw-r--r--include/linux/seg6.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/seg6.h b/include/linux/seg6.h
index 329163e4a0..5b572ba3db 100644
--- a/include/linux/seg6.h
+++ b/include/linux/seg6.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
+// SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note
/*
* SR-IPv6 implementation
*
@@ -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)