diff options
author | Guy Harris <guy@alum.mit.edu> | 2016-03-02 14:46:28 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2016-03-02 22:47:08 +0000 |
commit | ed6554c20282a6f78640d8b94ee54a954147aa18 (patch) | |
tree | 5670081a269aefb1f89875ba026d009177438b2a /epan/dissectors/packet-clnp.c | |
parent | 77a51512e2715b923fbc32b9e68edb990bf287e7 (diff) | |
download | wireshark-ed6554c20282a6f78640d8b94ee54a954147aa18.tar.gz |
Make the source and destination address code look more similar.
Change-Id: If7d5678c0b324204925f447d75c99d661b91c8ab
Reviewed-on: https://code.wireshark.org/review/14308
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/dissectors/packet-clnp.c')
-rw-r--r-- | epan/dissectors/packet-clnp.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/epan/dissectors/packet-clnp.c b/epan/dissectors/packet-clnp.c index d5554951ae..5dfcff9a45 100644 --- a/epan/dissectors/packet-clnp.c +++ b/epan/dissectors/packet-clnp.c @@ -427,12 +427,10 @@ dissect_clnp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_ } set_address_tvb(&pinfo->net_src, get_osi_address_type(), src_len, tvb, offset); copy_address_shallow(&pinfo->src, &pinfo->net_src); - proto_tree_add_bytes_format_value(clnp_tree, hf_clnp_src, tvb, - offset, src_len, + proto_tree_add_bytes_format_value(clnp_tree, hf_clnp_src, tvb, offset, src_len, NULL, "%s", print_nsap_net(tvb, offset, src_len)); - offset += src_len; opt_len -= src_len; |