diff options
author | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2011-11-14 19:57:45 +0000 |
---|---|---|
committer | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2011-11-14 19:57:45 +0000 |
commit | 5facddf7606cb66d92a019d727728dd38e07a934 (patch) | |
tree | ed476f8526f6822ecc5a75dc0d34a4e622bfc78b /epan/dissectors/packet-ucp.c | |
parent | 07c90fb5362d495ca4397e56d94ef883ef2675ae (diff) |
The Originator protocol identifier is not present in the "provisioning actions operation -61", only the "session management operatin -60". Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6570.
svn path=/trunk/; revision=39834
Diffstat (limited to 'epan/dissectors/packet-ucp.c')
-rw-r--r-- | epan/dissectors/packet-ucp.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/epan/dissectors/packet-ucp.c b/epan/dissectors/packet-ucp.c index 1e1fa9f447..8f7601638c 100644 --- a/epan/dissectors/packet-ucp.c +++ b/epan/dissectors/packet-ucp.c @@ -1681,10 +1681,12 @@ add_6xO(proto_tree *tree, tvbuff_t *tvb, guint8 OT) UcpHandleString(hf_ucp_parm_LAdC); UcpHandleByte(hf_ucp_parm_LTON); UcpHandleByte(hf_ucp_parm_LNPI); - UcpHandleInt(hf_ucp_parm_OPID); + if (OT == 60) { + UcpHandleInt(hf_ucp_parm_OPID); + } UcpHandleData(hf_ucp_parm_RES1); if (OT == 61) { - UcpHandleData(hf_ucp_parm_RES2); + UcpHandleData(hf_ucp_parm_RES2); } } |