diff options
-rw-r--r-- | wiretap/wtap.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/wiretap/wtap.h b/wiretap/wtap.h index c34547d491..5c7b7afa52 100644 --- a/wiretap/wtap.h +++ b/wiretap/wtap.h @@ -933,15 +933,17 @@ struct erf_ehdr { #define MAX_ERF_EHDR 8 +struct wtap_erf_eth_hdr { + guint8 offset; + guint8 pad; +}; + struct erf_mc_phdr { struct erf_phdr phdr; struct erf_ehdr ehdr_list[MAX_ERF_EHDR]; union { - struct wtap_erf_eth_hdr { - guint8 offset; - guint8 pad; - } eth_hdr; + struct wtap_erf_eth_hdr eth_hdr; guint32 mc_hdr; guint32 aal2_hdr; } subhdr; |