summaryrefslogtreecommitdiff
path: root/mergecap.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2016-03-06 09:23:32 -0800
committerGuy Harris <guy@alum.mit.edu>2016-03-06 17:24:05 +0000
commitad3afb02c369323d83df0cd38fc790203adfd889 (patch)
tree01f5243167eb47f9c27b6a1077562c8660d25948 /mergecap.c
parent5876dc241cf15d9b9faedacb63e4f887867ba530 (diff)
downloadwireshark-ad3afb02c369323d83df0cd38fc790203adfd889.tar.gz
Properly fetch the ethertype.
The ethertype is 16 bits and big-endian, so fetch it with pntoh16() to convert it to host byte order (and to handle unaligned values). Fixes Coverity CID 1355352. Change-Id: I14980e2813c3ea19c6df01681f8ed7aaad5c3f59 Reviewed-on: https://code.wireshark.org/review/14359 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'mergecap.c')
0 files changed, 0 insertions, 0 deletions