net: fix build with pedantic for L2TPv2 definitions
authorDavid Marchand <david.marchand@redhat.com>
Sun, 24 Oct 2021 10:04:11 +0000 (12:04 +0200)
committerDavid Marchand <david.marchand@redhat.com>
Mon, 25 Oct 2021 07:33:15 +0000 (09:33 +0200)
commite0d3a74d926466051127bf87657a3ae662cfc43b
tree38b3e7e10c724aefa50b99f4f4bd4d34326bdf3c
parentdaa02b5cddbb8e11b31d41e2bf7bb1ae64dcae2f
net: fix build with pedantic for L2TPv2 definitions

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.marchand@redhat.com>
Tested-by: Raslan Darawsheh <rasland@nvidia.com>
lib/net/rte_l2tpv2.h