diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-02-01 07:34:33 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-02-01 07:34:33 +0000 |
commit | 8b5164320306d2f56831b6ce5215a8ae4182688a (patch) | |
tree | 36dc335eab009cbaa8d718ddf710f669b3232f2f /packet-ethertype.c | |
parent | 562eae009f950c33162eda722e0ae4259e298c01 (diff) | |
download | wireshark-8b5164320306d2f56831b6ce5215a8ae4182688a.tar.gz |
"Decode As" dialog, from David Hampton.
svn path=/trunk/; revision=2965
Diffstat (limited to 'packet-ethertype.c')
-rw-r--r-- | packet-ethertype.c | 4 |
1 files changed, 3 insertions, 1 deletions
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 <gram@xiexie.org> * @@ -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); |