diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-02-13 19:33:14 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-02-13 19:33:14 +0000 |
commit | ba98e8832e2707abe9b8ed7592d8bb7b82a63250 (patch) | |
tree | 0666820c83be43c3630d1eacb1e060846ea9eba6 /packet-h245.c | |
parent | f06af0b47b0c17efcd48d171b5c6ae325b987af8 (diff) |
From Anders Broman: fix the offsets usd when adding the manufacturer info.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10060 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-h245.c')
-rw-r--r-- | packet-h245.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-h245.c b/packet-h245.c index 50be7a098c..00c89351af 100644 --- a/packet-h245.c +++ b/packet-h245.c @@ -7,7 +7,7 @@ * * Maintained by Andreas Sikkema (andreas.sikkema@philips.com) * - * $Id: packet-h245.c,v 1.44 2004/01/10 13:49:52 jmayer Exp $ + * $Id: packet-h245.c,v 1.45 2004/02/13 19:33:14 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -7598,7 +7598,7 @@ dissect_h245_h221NonStandard(tvbuff_t *tvb, int offset, packet_info *pinfo, prot h221NonStandard = ((t35CountryCode * 256) + t35Extension) * 65536 + manufacturerCode; - proto_tree_add_uint(tree, hf_h245_h221Manufacturer, tvb, (offset-3)>>3,4,h221NonStandard); + proto_tree_add_uint(tree, hf_h245_h221Manufacturer, tvb, (offset>>3)-4 ,4,h221NonStandard); return offset; } |