From 8b5164320306d2f56831b6ce5215a8ae4182688a Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Thu, 1 Feb 2001 07:34:33 +0000 Subject: "Decode As" dialog, from David Hampton. svn path=/trunk/; revision=2965 --- packet-ethertype.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'packet-ethertype.c') diff --git a/packet-ethertype.c b/packet-ethertype.c index d89980a6ba..f858f25778 100644 --- a/packet-ethertype.c +++ b/packet-ethertype.c @@ -1,7 +1,7 @@ /* ethertype.c * Routines for calling the right protocol for the ethertype. * - * $Id: packet-ethertype.c,v 1.11 2001/01/18 08:38:10 guy Exp $ + * $Id: packet-ethertype.c,v 1.12 2001/02/01 07:34:29 guy Exp $ * * Gilbert Ramirez * @@ -117,6 +117,8 @@ ethertype(guint16 etype, tvbuff_t *tvb, int offset_after_etype, /* Tvbuff for the payload after the Ethernet type. */ next_tvb = tvb_new_subset(tvb, offset_after_etype, -1, -1); + pinfo->ethertype = etype; + /* Remember how much data there is in it. */ length_before = tvb_reported_length(next_tvb); -- cgit v1.2.1