Make the source and destination address code look more similar.
authorGuy Harris <guy@alum.mit.edu>
Wed, 2 Mar 2016 22:46:28 +0000 (14:46 -0800)
committerGuy Harris <guy@alum.mit.edu>
Wed, 2 Mar 2016 22:47:08 +0000 (22:47 +0000)
Change-Id: If7d5678c0b324204925f447d75c99d661b91c8ab
Reviewed-on: https://code.wireshark.org/review/14308
Reviewed-by: Guy Harris <guy@alum.mit.edu>
epan/dissectors/packet-clnp.c

index d5554951aee076c80c43d0f3ac182cf2c279055d..5dfcff9a451d17a8cbf70712cc4fc8c841e8c4df 100644 (file)
@@ -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;