aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ucp.c
diff options
context:
space:
mode:
authorcmaynard <cmaynard@f5534014-38df-0310-8fa8-9805f1628bb7>2011-11-14 19:57:45 +0000
committercmaynard <cmaynard@f5534014-38df-0310-8fa8-9805f1628bb7>2011-11-14 19:57:45 +0000
commit91a1117671fb87da90464367096bb7727e4264f0 (patch)
treeed476f8526f6822ecc5a75dc0d34a4e622bfc78b /epan/dissectors/packet-ucp.c
parent6b6d6aa44eab4acb049debe66c2e23621ca5eae8 (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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39834 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-ucp.c')
-rw-r--r--epan/dissectors/packet-ucp.c6
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);
}
}