diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-02-01 07:34:33 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-02-01 07:34:33 +0000 |
commit | 4047ac405b9a98574900fb924d7509b1d4deb661 (patch) | |
tree | 36dc335eab009cbaa8d718ddf710f669b3232f2f /packet-ethertype.c | |
parent | 2be4d81245615f8ba1b2ef4ea5b77442453d32fa (diff) |
"Decode As" dialog, from David Hampton.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2965 f5534014-38df-0310-8fa8-9805f1628bb7
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); |