aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/hostlist_jxta.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2005-06-20 20:14:22 +0000
committerAnders Broman <anders.broman@ericsson.com>2005-06-20 20:14:22 +0000
commit2ab0496a7204c1bb149bd95bdb0644a565ec5270 (patch)
treeffe63e21c8d8b33b2d6d40bb6c02c448b7b6e885 /gtk/hostlist_jxta.c
parent3a6c9ab13448b557586a427bd025bc1ff99ac4cc (diff)
downloadwireshark-2ab0496a7204c1bb149bd95bdb0644a565ec5270.tar.gz
wireshark-2ab0496a7204c1bb149bd95bdb0644a565ec5270.tar.bz2
wireshark-2ab0496a7204c1bb149bd95bdb0644a565ec5270.zip
From Mike Duigou:
In order to get filtering of conversations and > endpoints to work from the endpoints and conversations windows I found > it necessary to add a new AT_URI address type and a SAT_JXTA. This also > necessitated a change to to_str.c to avoid a buffer overflow problem. > Please review these changes carefully. > > Also includes some changes to the jxta dissector to fix filtering on > generated fields and some changes to the types used for ints/unsigned ints. > > Fixes a bug with the processing of messages containing namespaces. svn path=/trunk/; revision=14714
Diffstat (limited to 'gtk/hostlist_jxta.c')
-rw-r--r--gtk/hostlist_jxta.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/hostlist_jxta.c b/gtk/hostlist_jxta.c
index dd18b24567..10017a36a4 100644
--- a/gtk/hostlist_jxta.c
+++ b/gtk/hostlist_jxta.c
@@ -49,8 +49,8 @@ jxta_hostlist_packet(void *pit, packet_info *pinfo _U_, epan_dissect_t *edt _U_,
/* Take two "add" passes per packet, adding for each direction, ensures that all
packets are counted properly (even if address is sending to itself)
XXX - this could probably be done more efficiently inside hostlist_table */
- add_hostlist_table_data(hosts, &jxtahdr->src_address, 0, TRUE, 1, jxtahdr->size, SAT_NONE, PT_NONE);
- add_hostlist_table_data(hosts, &jxtahdr->dest_address, 0, FALSE, 1, jxtahdr->size, SAT_NONE, PT_NONE);
+ add_hostlist_table_data(hosts, &jxtahdr->src_address, 0, TRUE, 1, jxtahdr->size, SAT_JXTA, PT_NONE);
+ add_hostlist_table_data(hosts, &jxtahdr->dest_address, 0, FALSE, 1, jxtahdr->size, SAT_JXTA, PT_NONE);
return 1;
}