mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
vnic: fix compilation of an IPv6 only kernel
Sponsored by: Netflix, Inc. (cherry picked from commit 1d3d30c8d2e41052796c5bdd9220d7e3daabccad)
This commit is contained in:
parent
2da45e304d
commit
307daa4f17
1 changed files with 6 additions and 1 deletions
|
|
@ -1749,10 +1749,15 @@ nicvf_sq_add_hdr_subdesc(struct snd_queue *sq, int qentry,
|
|||
struct ether_vlan_header *eh;
|
||||
#ifdef INET
|
||||
struct ip *ip;
|
||||
#endif
|
||||
#if defined(INET6) || defined(INET)
|
||||
struct tcphdr *th;
|
||||
#endif
|
||||
#ifdef INET
|
||||
int iphlen;
|
||||
#endif
|
||||
int ehdrlen, poff, proto;
|
||||
uint16_t etype;
|
||||
int ehdrlen, iphlen, poff, proto;
|
||||
|
||||
nic = sq->nic;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue