diff options
author | Guy Harris <guy@alum.mit.edu> | 2004-02-13 19:33:14 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2004-02-13 19:33:14 +0000 |
commit | 027cf5a5749aafc493a123a5733d7a0d926c346b (patch) | |
tree | 0666820c83be43c3630d1eacb1e060846ea9eba6 /packet-h245.c | |
parent | b5881ce528b64bceec7fe97283877101f1fb45c7 (diff) | |
download | wireshark-027cf5a5749aafc493a123a5733d7a0d926c346b.tar.gz wireshark-027cf5a5749aafc493a123a5733d7a0d926c346b.tar.bz2 wireshark-027cf5a5749aafc493a123a5733d7a0d926c346b.zip |
From Anders Broman: fix the offsets usd when adding the manufacturer info.
svn path=/trunk/; revision=10060
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; } |