aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/conversations_table.c
diff options
context:
space:
mode:
authorStephen Fisher <steve@stephen-fisher.com>2006-12-29 22:22:54 +0000
committerStephen Fisher <steve@stephen-fisher.com>2006-12-29 22:22:54 +0000
commit8aeefa1bfdd9baa65686c743e334c85f539f7084 (patch)
treec781599f5e49731d5e4f205670187c9dad678172 /gtk/conversations_table.c
parentd6e5083c7f1d3396b970b0d9990f78db5c9c4230 (diff)
Fix for bug #1278:
"When analysing a trace with 802.11 packages (made by airpcap) and selecting Statistics->Conversation List->WLAN all wlan conversations are listed. When after this selecting Apply as filter->Selected->A<->B a display filter is created as eth.addr==<A> && eth.addr==<B> when if should be wlan.addr==<A> && wlan.addr==<B>" svn path=/trunk/; revision=20234
Diffstat (limited to 'gtk/conversations_table.c')
-rw-r--r--gtk/conversations_table.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/gtk/conversations_table.c b/gtk/conversations_table.c
index d07125d864..e7bf8110b0 100644
--- a/gtk/conversations_table.c
+++ b/gtk/conversations_table.c
@@ -108,8 +108,8 @@ ct_port_to_str(int port_type, guint32 port)
return a string for the filter name
some addresses, like AT_ETHER may actually be any of multiple types
- of protocols, either ethernet, tokenring, fddi etc so we must be more
- specific there thats why we need specific_addr_type
+ of protocols, either ethernet, tokenring, fddi, wlan etc so we must be
+ more specific there thats why we need specific_addr_type
*/
static const char *
ct_get_filter_name(address *addr, int specific_addr_type, int port_type, int name_type)
@@ -121,6 +121,8 @@ ct_get_filter_name(address *addr, int specific_addr_type, int port_type, int nam
switch(specific_addr_type){
case SAT_ETHER:
return "eth.src";
+ case SAT_WLAN:
+ return "wlan.sa";
case SAT_FDDI:
return "fddi.src";
case SAT_TOKENRING:
@@ -155,6 +157,8 @@ ct_get_filter_name(address *addr, int specific_addr_type, int port_type, int nam
switch(specific_addr_type){
case SAT_ETHER:
return "eth.dst";
+ case SAT_WLAN:
+ return "wlan.da";
case SAT_FDDI:
return "fddi.dst";
case SAT_TOKENRING:
@@ -189,6 +193,8 @@ ct_get_filter_name(address *addr, int specific_addr_type, int port_type, int nam
switch(specific_addr_type){
case SAT_ETHER:
return "eth.addr";
+ case SAT_WLAN:
+ return "wlan.addr";
case SAT_FDDI:
return "fddi.addr";
case SAT_TOKENRING: