http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=35529
User: morriss
Date: 2011/01/13 07:45 PM
Log:
Replace ip_to_str((tvb_get_ptr(...)) with tvb_ip_to_str().
Replace ip6_to_str((tvb_get_ptr(...)) with tvb_ip6_to_str().
There's no need to pass the result of tvb_get_ptr() as the 'value' in
proto_tree_add_*(): just use proto_tree_add_item().
Replace some tvb_get_ptr()s with tvb_get_ephemeral_string()s.
Replace some memcpy()+tvb_get_ptr() with tvb_memcpy().
Directory: /trunk/epan/dissectors/
Changes Path Action
+4 -6 packet-asap.c Modified
+25 -28 packet-bootp.c Modified
+25 -25 packet-cdp.c Modified
+2 -3 packet-chdlc.c Modified
+1 -1 packet-dcerpc-epm.c Modified
+3 -5 packet-dhcp-failover.c Modified
+29 -36 packet-dns.c Modified
+4 -6 packet-enrp.c Modified
+19 -21 packet-gtpv2.c Modified
+1 -2 packet-iapp.c Modified
+2 -3 packet-icmp.c Modified
(11 files not shown)