Build is broken on RHEL7 following introduction of this new protocol.

Fixes: 3a929df1f286 ("ethdev: support L2TPv2 and PPP procotol")

Signed-off-by: David Marchand <david.march...@redhat.com>
---
 lib/net/rte_l2tpv2.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/net/rte_l2tpv2.h b/lib/net/rte_l2tpv2.h
index 4634964820..670fe5470e 100644
--- 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 */
-- 
2.23.0

Reply via email to