Revert revision=51577.
Ref https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9082 Since this commit the IP (source and destination) address in the GUI will be replaced with some date after I click on the entry, reverting this commit fixes the problem. This looks like a memory corruption. I imported an older pcap file. svn path=/trunk/; revision=51581
This commit is contained in:
parent
f1ceee4a2c
commit
d0b80c8299
|
@ -172,8 +172,9 @@ ipv4_hash_table_to_texbuff(gpointer key, gpointer value, gpointer user_data)
|
|||
hashipv4_t *ipv4_hash_table_entry = (hashipv4_t *)value;
|
||||
int addr = *(int*)key;
|
||||
|
||||
g_snprintf(string_buff, ADDRESS_STR_MAX, "Key:0x%x Name: %s\n",
|
||||
g_snprintf(string_buff, ADDRESS_STR_MAX, "Key:0x%x IP: %s, Name: %s\n",
|
||||
addr,
|
||||
ipv4_hash_table_entry->ip,
|
||||
ipv4_hash_table_entry->name);
|
||||
|
||||
gtk_text_buffer_insert_at_cursor (buffer, string_buff, -1);
|
||||
|
@ -187,7 +188,8 @@ ipv6_hash_table_to_texbuff(gpointer key _U_, gpointer value, gpointer user_data)
|
|||
GtkTextBuffer *buffer = (GtkTextBuffer*)user_data;
|
||||
hashipv6_t *ipv6_hash_table_entry = (hashipv6_t *)value;
|
||||
|
||||
g_snprintf(string_buff, ADDRESS_STR_MAX, "Name: %s\n",
|
||||
g_snprintf(string_buff, ADDRESS_STR_MAX, "IP: %s, Name: %s\n",
|
||||
ipv6_hash_table_entry->ip6,
|
||||
ipv6_hash_table_entry->name);
|
||||
|
||||
gtk_text_buffer_insert_at_cursor (buffer, string_buff, -1);
|
||||
|
|
Loading…
Reference in New Issue