forked from osmocom/wireshark
isis: bugfix in csnp source id length.
Change-Id: Ib9f8507ed0a5a0788970b5fa150917f7c1b10de3 Reviewed-on: https://code.wireshark.org/review/7418 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
This commit is contained in:
parent
8ae714da5b
commit
0f29e5d479
|
@ -337,7 +337,7 @@ dissect_isis_csnp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offse
|
|||
offset, 2, pdu_length);
|
||||
offset += 2;
|
||||
|
||||
proto_tree_add_item(csnp_tree, hf_isis_csnp_source_id, tvb, offset, id_length, ENC_NA);
|
||||
proto_tree_add_item(csnp_tree, hf_isis_csnp_source_id, tvb, offset, id_length + 1, ENC_NA);
|
||||
col_append_fstr(pinfo->cinfo, COL_INFO, ", Source-ID: %s", tvb_print_system_id( tvb, offset, id_length ));
|
||||
offset += id_length + 1;
|
||||
|
||||
|
|
Loading…
Reference in New Issue