summaryrefslogtreecommitdiff
path: root/print-lane.c
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2020-08-05 22:15:45 +0200
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2020-08-06 09:44:45 +0200
commitaa8bf0f52768cf4671c1661a29e7c1dd9cf5f5ad (patch)
tree5c77a921c6f12424e39da1306c68c039758e3a4a /print-lane.c
parent4262b291643c6e42ef3f964f8d5ad150d0b84efb (diff)
downloadtcpdump-aa8bf0f52768cf4671c1661a29e7c1dd9cf5f5ad.tar.gz
Remove the unused DLT_LANE8023 link-layer dissector
DLT_LANE8023 was never defined in libpcap. It was, perhaps, defined in some SuSE libpcap update, but no evidence of this. It is not defined in OpenSuSE Leap 15.2 (information from Guy).
Diffstat (limited to 'print-lane.c')
-rw-r--r--print-lane.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/print-lane.c b/print-lane.c
index d608ffde..09f92c06 100644
--- a/print-lane.c
+++ b/print-lane.c
@@ -115,12 +115,3 @@ lane_print(netdissect_options *ndo, const u_char *p, u_int length, u_int caplen)
*/
ether_print(ndo, p, length, caplen, lane_hdr_print, p - 2, FALSE);
}
-
-u_int
-lane_if_print(netdissect_options *ndo, const struct pcap_pkthdr *h, const u_char *p)
-{
- ndo->ndo_protocol = "lane_if";
- lane_print(ndo, p, h->len, h->caplen);
-
- return (sizeof(struct lecdatahdr_8023));
-}