diff options
author | Nicolas S. Dade <nic.dade@gmail.com> | 2015-12-02 00:49:20 -0800 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2015-12-02 11:39:22 +0000 |
commit | ea852b2bd0f679256bfc0cdc87f0ceebb3d23254 (patch) | |
tree | 753ed95435c8cc259e62908839d8e09e94cb6317 /epan/dissectors/packet-l2tp.c | |
parent | 92a2661d949b1fed78affd87c6e80b537ce49dfe (diff) |
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>
Diffstat (limited to 'epan/dissectors/packet-l2tp.c')
-rw-r--r-- | epan/dissectors/packet-l2tp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-l2tp.c b/epan/dissectors/packet-l2tp.c index 8c791deb0a..1ce315b6c3 100644 --- a/epan/dissectors/packet-l2tp.c +++ b/epan/dissectors/packet-l2tp.c @@ -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); } |