From 6d8f1356ba1446eac15b5af3de6dd3209101fba9 Mon Sep 17 00:00:00 2001 From: Anders Broman Date: Mon, 26 Oct 2009 15:12:32 +0000 Subject: RelocationRequired incorrectly dissected. svn path=/trunk/; revision=30710 --- asn1/ranap/packet-ranap-template.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'asn1/ranap/packet-ranap-template.c') diff --git a/asn1/ranap/packet-ranap-template.c b/asn1/ranap/packet-ranap-template.c index 68e728513a..d7b12a2ae8 100644 --- a/asn1/ranap/packet-ranap-template.c +++ b/asn1/ranap/packet-ranap-template.c @@ -146,10 +146,11 @@ static int dissect_ProtocolIEFieldValue(tvbuff_t *tvb, packet_info *pinfo, proto switch(ProcedureCode){ case id_RelocationPreparation: if((ProtocolIE_ID == id_Source_ToTarget_TransparentContainer)||(ProtocolIE_ID == id_Target_ToSource_TransparentContainer)){ - key = SPECIAL || ProtocolIE_ID; + key = SPECIAL | ProtocolIE_ID; ret = (dissector_try_port_new(ranap_ies_dissector_table, key, tvb, pinfo, tree, FALSE)) ? tvb_length(tvb) : 0; + break; } - break; + /* Fall trough */ default: /* no special handling */ ret = (dissector_try_port_new(ranap_ies_dissector_table, ProtocolIE_ID, tvb, pinfo, tree, FALSE)) ? tvb_length(tvb) : 0; -- cgit v1.2.3