L2TP: show unsigned value of control connection id

Everywhere else in the l2tp packet tree we show the control connection ID as
an unsigned decimal.

Change-Id: I189b9ce8c56b024a249d18fc62641c2f5283b0c1
Reviewed-on: https://code.wireshark.org/review/12367
Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
Nicolas S. Dade 2015-12-02 00:49:20 -08:00 committed by Anders Broman
parent 92a2661d94
commit ea852b2bd0
1 changed files with 1 additions and 1 deletions

View File

@ -2311,7 +2311,7 @@ process_l2tpv3_control(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int
proto_tree_add_item(l2tp_tree, hf_l2tp_sid, tvb, 0, 4, ENC_BIG_ENDIAN);
}
ctrl_tree = proto_tree_add_subtree_format(l2tp_tree, tvb, baseIdx, 2,
ett_l2tp_ctrl, NULL, "Packet Type: %s Control Connection Id=%d",
ett_l2tp_ctrl, NULL, "Packet Type: %s Control Connection Id=%u",
(CONTROL_BIT(control) ? control_msg : data_msg), ccid);
proto_tree_add_bitmask_list(ctrl_tree, tvb, baseIdx, 2, l2tp_control_fields, ENC_BIG_ENDIAN);
}