git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: fix build with pedantic for L2TPv2 definitions
[dpdk.git]
/
lib
/
net
/
rte_l2tpv2.h
diff --git
a/lib/net/rte_l2tpv2.h
b/lib/net/rte_l2tpv2.h
index
4634964
..
670fe54
100644
(file)
--- a/
lib/net/rte_l2tpv2.h
+++ b/
lib/net/rte_l2tpv2.h
@@
-86,6
+86,7
@@
struct rte_l2tpv2_common_hdr {
union {
/** header flags and protocol version */
rte_be16_t flags_version;
+ __extension__
struct {
#if RTE_BYTE_ORDER == RTE_LITTLE_ENDIAN
rte_be16_t t:1; /**< message Type */