parent
fde0410bb5
commit
4d92f6079b
|
@ -4230,7 +4230,7 @@ static int dissect_returnData(proto_tree *tree, tvbuff_t *tvb, int offset, asn1_
|
|||
offset = dissect_ansi_map_ModifyRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_modifyRes);
|
||||
break;
|
||||
case 72: /*Search*/
|
||||
offset = dissect_ansi_map_SearchRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_searchRes);;
|
||||
offset = dissect_ansi_map_SearchRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_searchRes);
|
||||
break;
|
||||
case 73: /*Seize Resource*/
|
||||
offset = dissect_ansi_map_SeizeResourceRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_seizeResourceRes);
|
||||
|
|
|
@ -143,7 +143,7 @@ static char* new_child_cmd(char** params, char** err) {
|
|||
return NULL;
|
||||
}
|
||||
|
||||
return g_strdup_printf("New chld_id=%d\n",child);;
|
||||
return g_strdup_printf("New chld_id=%d\n",child);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -16108,7 +16108,7 @@ static int dissect_returnData(proto_tree *tree, tvbuff_t *tvb, int offset, asn1_
|
|||
offset = dissect_ansi_map_ModifyRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_modifyRes);
|
||||
break;
|
||||
case 72: /*Search*/
|
||||
offset = dissect_ansi_map_SearchRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_searchRes);;
|
||||
offset = dissect_ansi_map_SearchRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_searchRes);
|
||||
break;
|
||||
case 73: /*Seize Resource*/
|
||||
offset = dissect_ansi_map_SeizeResourceRes(TRUE, tvb, offset, actx, tree, hf_ansi_map_seizeResourceRes);
|
||||
|
|
|
@ -1311,7 +1311,7 @@ dissect_aprs( tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void *
|
|||
sb = wmem_strbuf_new_label(wmem_packet_scope());
|
||||
|
||||
if (dti != '!')
|
||||
wmem_strbuf_append(sb, val_to_str_ext_const(dti, &aprs_description_ext, ""));;
|
||||
wmem_strbuf_append(sb, val_to_str_ext_const(dti, &aprs_description_ext, ""));
|
||||
|
||||
switch ( dti )
|
||||
{
|
||||
|
|
|
@ -200,7 +200,7 @@ dissect_btmcap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _
|
|||
if (bluetooth_clock_sync_time == 0xFFFFFFFF)
|
||||
proto_item_append_text(pitem, " (Instant Synchronization)");
|
||||
else
|
||||
proto_item_append_text(pitem, " (Baseband Half-Slot Instant)");;
|
||||
proto_item_append_text(pitem, " (Baseband Half-Slot Instant)");
|
||||
offset += 4;
|
||||
|
||||
pitem = proto_tree_add_item(main_tree, hf_btmcap_timestamp_sync_time, tvb, offset, 8, ENC_BIG_ENDIAN);
|
||||
|
|
|
@ -4220,7 +4220,7 @@ dissect_sdp_service_search_attribute_response(proto_tree *tree, tvbuff_t *tvb,
|
|||
PDU_TYPE_SERVICE_SEARCH_ATTRIBUTE, &new_tvb, &is_first,
|
||||
&is_continued, &uuid_array, NULL, l2cap_data);
|
||||
|
||||
uuid = get_most_specified_uuid(uuid_array);;
|
||||
uuid = get_most_specified_uuid(uuid_array);
|
||||
|
||||
if (is_first && !is_continued) {
|
||||
dissect_sdp_service_attribute_list_array(tree, tvb, offset, pinfo,
|
||||
|
|
|
@ -3285,7 +3285,7 @@ dissect_dns_answer(tvbuff_t *tvb, int offsetx, int dns_data_offset,
|
|||
}
|
||||
|
||||
proto_tree_add_item(rr_tree, hf_dns_tkey_other_size, tvb, cur_offset, 2, ENC_BIG_ENDIAN);
|
||||
tkey_otherlen = tvb_get_ntohs(tvb, cur_offset);;
|
||||
tkey_otherlen = tvb_get_ntohs(tvb, cur_offset);
|
||||
cur_offset += 2;
|
||||
|
||||
if (tkey_otherlen != 0) {
|
||||
|
|
|
@ -7921,7 +7921,7 @@ dissect_japan_isup_charge_area_info(tvbuff_t *parameter_tvb, proto_tree *paramet
|
|||
ca_number[digit_index++] = number_to_char((octet & ISUP_EVEN_ADDRESS_SIGNAL_DIGIT_MASK) / 0x10);
|
||||
}
|
||||
offset += 1;
|
||||
length -= 1;;
|
||||
length -= 1;
|
||||
}
|
||||
ca_number[digit_index++] = '\0';
|
||||
proto_item_set_text(digits_item, "Charge Area : %s", ca_number);
|
||||
|
@ -7957,7 +7957,7 @@ dissect_japan_isup_charge_area_info(tvbuff_t *parameter_tvb, proto_tree *paramet
|
|||
proto_tree_add_uint(digits_tree, hf_isup_charging_info_maca_even_digits, parameter_tvb, 0, 1, octet);
|
||||
}
|
||||
offset += 1;
|
||||
length -= 1;;
|
||||
length -= 1;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -2230,7 +2230,7 @@ mbim_dissect_context(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gint o
|
|||
{
|
||||
gint base_offset;
|
||||
guint32 access_string_offset, access_string_size, user_name_offset, user_name_size,
|
||||
password_offset, password_size, provider_id_offset = 0, provider_id_size = 0;;
|
||||
password_offset, password_size, provider_id_offset = 0, provider_id_size = 0;
|
||||
|
||||
base_offset = offset;
|
||||
proto_tree_add_item(tree, hf_mbim_context_context_id, tvb, offset, 4, ENC_LITTLE_ENDIAN);
|
||||
|
|
|
@ -39,7 +39,7 @@ guint64 tvb_get_guint64_endian(tvbuff_t *a_tvb, gint a_iOffset, gint a_rep)
|
|||
else
|
||||
iResult = tvb_get_ntoh64(a_tvb, a_iOffset);
|
||||
return iResult;
|
||||
};
|
||||
}
|
||||
guint32 tvb_get_guint32_endian(tvbuff_t *a_tvb, gint a_iOffset, gint a_rep)
|
||||
{
|
||||
guint32 iResult;
|
||||
|
@ -48,7 +48,7 @@ guint32 tvb_get_guint32_endian(tvbuff_t *a_tvb, gint a_iOffset, gint a_rep)
|
|||
else
|
||||
iResult = tvb_get_ntohl(a_tvb, a_iOffset);
|
||||
return iResult;
|
||||
};
|
||||
}
|
||||
guint16 tvb_get_guint16_endian(tvbuff_t *a_tvb, gint a_iOffset, gint a_rep)
|
||||
{
|
||||
guint16 sResult;
|
||||
|
@ -57,7 +57,7 @@ guint16 tvb_get_guint16_endian(tvbuff_t *a_tvb, gint a_iOffset, gint a_rep)
|
|||
else
|
||||
sResult = tvb_get_ntohs(a_tvb, a_iOffset);
|
||||
return sResult;
|
||||
};
|
||||
}
|
||||
/* This routine truncates the string at the first blank space */
|
||||
gint32 strip_trailing_blanks(guint8* a_str, guint32 a_size)
|
||||
{
|
||||
|
|
|
@ -8462,7 +8462,7 @@ dissect_nds_reply(tvbuff_t *tvb, packet_info *pinfo,
|
|||
pvalues[1].mvtype = 0;
|
||||
pvalues[1].hfname= hf_nds_class_def_type;
|
||||
nds_offset = nds_offset + pvalues[1].vlength;
|
||||
pvalues[2].vvalue = tvb_get_letohl(tvb, nds_offset);;
|
||||
pvalues[2].vvalue = tvb_get_letohl(tvb, nds_offset);
|
||||
pvalues[2].vtype = VTYPE_MULTIVALUE_UINT32;
|
||||
pvalues[2].vdesc = "Class Definitions %u";
|
||||
pvalues[2].vlength = 0;
|
||||
|
|
|
@ -1301,7 +1301,7 @@ static void dissect_noe(tvbuff_t *tvb,
|
|||
1,
|
||||
server);
|
||||
offset += 1;
|
||||
length -= 1;;
|
||||
length -= 1;
|
||||
|
||||
/* update text of the main proto item */
|
||||
proto_item_append_text(noe_item, ", %s",
|
||||
|
|
|
@ -2331,7 +2331,7 @@ dissect_openflow_port_v4(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree
|
|||
offset+=4;
|
||||
|
||||
return offset;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@ -3404,7 +3404,7 @@ dissect_openflow_switch_description_v4(tvbuff_t *tvb, packet_info *pinfo _U_, pr
|
|||
/* char dp_desc[DESC_STR_LEN]; */
|
||||
proto_tree_add_item(tree, hf_openflow_v4_switch_description_dp_desc, tvb, offset, DESC_STR_LEN, ENC_ASCII|ENC_NA);
|
||||
/*offset+=DESC_STR_LEN;*/
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
static int
|
||||
|
@ -3628,7 +3628,7 @@ dissect_openflow_port_stats_v4(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree
|
|||
offset+=4;
|
||||
|
||||
return offset;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
static int
|
||||
|
|
|
@ -2450,7 +2450,7 @@ dissect_openflow_port_v5(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree
|
|||
|
||||
return offset;
|
||||
#endif
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@ -3553,7 +3553,7 @@ dissect_openflow_switch_description_v5(tvbuff_t *tvb, packet_info *pinfo _U_, pr
|
|||
/* char dp_desc[DESC_STR_LEN]; */
|
||||
proto_tree_add_item(tree, hf_openflow_v5_switch_description_dp_desc, tvb, offset, DESC_STR_LEN, ENC_ASCII|ENC_NA);
|
||||
/*offset+=DESC_STR_LEN;*/
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
static int
|
||||
|
@ -3781,7 +3781,7 @@ dissect_openflow_port_stats_v5(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree
|
|||
offset+=4;
|
||||
|
||||
return offset;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
static int
|
||||
|
|
|
@ -6483,7 +6483,7 @@ dissect_rsvp_3gpp_object(proto_tree *ti _U_, proto_tree *rsvp_object_tree,
|
|||
offset++;
|
||||
/* [RFC 3006] hint */
|
||||
proto_tree_add_item(flow_tree, hf_rsvp_3gpp_obj_pf_hint, tvb, offset, 4, ENC_BIG_ENDIAN);
|
||||
offset+=4;;
|
||||
offset+=4;
|
||||
}
|
||||
proto_item_set_len(ti, item_len);
|
||||
}
|
||||
|
|
|
@ -1924,7 +1924,7 @@ dissect_rtp( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_
|
|||
call_dissector(data_handle,
|
||||
tvb_new_subset_remaining(tvb, offset),
|
||||
pinfo, rtp_tree);
|
||||
return tvb_length(tvb);;
|
||||
return tvb_length(tvb);
|
||||
}
|
||||
|
||||
padding_count = tvb_get_guint8( tvb,
|
||||
|
|
|
@ -1355,7 +1355,7 @@ static void dissect_sdp_media_attribute(tvbuff_t *tvb, packet_info *pinfo, proto
|
|||
port_end_offset = tvb_find_guint8(tvb, port_offset, -1, '/');
|
||||
if (port_end_offset == -1) {
|
||||
/* No "/" look for the ";" */
|
||||
port_end_offset = tvb_find_guint8(tvb, port_offset, -1, ';');;
|
||||
port_end_offset = tvb_find_guint8(tvb, port_offset, -1, ';');
|
||||
}
|
||||
/* Attempt to convert address */
|
||||
if (inet_pton(AF_INET,
|
||||
|
|
|
@ -443,7 +443,7 @@ dissect_PNPTCP_Option_PROFINET(tvbuff_t *tvb, int offset,
|
|||
|
||||
/* SubType */
|
||||
offset = dissect_pn_uint8(tvb, offset, pinfo, tree, hf_pn_ptcp_profinet_subtype, &subType);
|
||||
length -= 1;;
|
||||
length -= 1;
|
||||
|
||||
switch (subType) {
|
||||
case 1: /* RTData */
|
||||
|
|
|
@ -732,7 +732,7 @@ void MainWindow::setMenusForSelectedPacket()
|
|||
#if 0
|
||||
gboolean is_ip = FALSE, is_tcp = FALSE, is_udp = FALSE, is_sctp = FALSE;
|
||||
#else
|
||||
gboolean is_tcp = FALSE, is_sctp = FALSE;;
|
||||
gboolean is_tcp = FALSE, is_sctp = FALSE;
|
||||
#endif
|
||||
|
||||
// /* Making the menu context-sensitive allows for easier selection of the
|
||||
|
|
|
@ -535,7 +535,7 @@ void WiresharkApplication::cleanup()
|
|||
|
||||
void WiresharkApplication::itemStatusFinished(const QString &filename, qint64 size, bool accessible) {
|
||||
recent_item_status *ri;
|
||||
RecentFileStatus *rf_status = qobject_cast<RecentFileStatus *>(QObject::sender());;
|
||||
RecentFileStatus *rf_status = qobject_cast<RecentFileStatus *>(QObject::sender());
|
||||
|
||||
// g_log(NULL, G_LOG_LEVEL_DEBUG, "rf isf %d", recent_items.count());
|
||||
foreach (ri, recent_items) {
|
||||
|
|
Loading…
Reference in New Issue