aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2016-01-16 13:52:42 -0800
committerGuy Harris <guy@alum.mit.edu>2016-01-16 21:53:23 +0000
commit330162378440b44b6faeaea20c868e70c48d228a (patch)
treec3b90574c2b4fd6214f43f97cd8145c7e8622913 /epan/dissectors
parent49fe90fb6d8b759481e157766ec88c42d74fd4d0 (diff)
Add WTAP_ENCAP_NFC_LLCP to the list of types require a pseudo-header.
Discovered by changing wtap_encap_requires_phdr() to use a switch statement and comparing the case arms. Change-Id: I2a23b86ddfbc88c1b3251a0e97f7f00ee93f630e Reviewed-on: https://code.wireshark.org/review/13341 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/dissectors')
-rw-r--r--epan/dissectors/packet-pcap_pktdata.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/epan/dissectors/packet-pcap_pktdata.c b/epan/dissectors/packet-pcap_pktdata.c
index a16d385765..b15ae7d6f1 100644
--- a/epan/dissectors/packet-pcap_pktdata.c
+++ b/epan/dissectors/packet-pcap_pktdata.c
@@ -325,14 +325,16 @@ dissect_pcap_pktdata(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *
/* TODO */
case WTAP_ENCAP_SITA:
/* TODO */
- case WTAP_ENCAP_ERF:
- /* TODO no description for pseudoheader at http://www.tcpdump.org/linktypes.html */
- case WTAP_ENCAP_I2C:
- /* TODO */
case WTAP_ENCAP_BLUETOOTH_LINUX_MONITOR:
/* TODO */
+ case WTAP_ENCAP_NFC_LLCP:
+ /* TODO */
case WTAP_ENCAP_PPP_WITH_PHDR:
/* TODO */
+ case WTAP_ENCAP_ERF:
+ /* TODO no description for pseudoheader at http://www.tcpdump.org/linktypes.html */
+ case WTAP_ENCAP_I2C:
+ /* TODO */
default:
/*
* No. Give up.