aboutsummaryrefslogtreecommitdiffstats
path: root/follow.c
diff options
context:
space:
mode:
authorgram <gram@f5534014-38df-0310-8fa8-9805f1628bb7>1999-07-17 04:19:15 +0000
committergram <gram@f5534014-38df-0310-8fa8-9805f1628bb7>1999-07-17 04:19:15 +0000
commite6c7d634b6123bc001b160029e36728dbfc6a642 (patch)
tree92c8229461c702ab93c30d50a7481658d805109b /follow.c
parent9037c6c625b2f3850c86dc2413aa13a84d953792 (diff)
Added just enough fields to TCP to support "Follow TCP Stream". It works now.
Added the protocol IDs for ipx and IGMP, but not their fields. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@365 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'follow.c')
-rw-r--r--follow.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/follow.c b/follow.c
index ba64ab6dd5..8cb7f5b05b 100644
--- a/follow.c
+++ b/follow.c
@@ -1,6 +1,6 @@
/* follow.c
*
- * $Id: follow.c,v 1.11 1999/07/13 02:52:51 gram Exp $
+ * $Id: follow.c,v 1.12 1999/07/17 04:19:02 gram Exp $
*
* Copyright 1998 Mike Hall <mlh@io.com>
*
@@ -62,8 +62,8 @@ build_follow_filter( packet_info *pi ) {
char* buf = malloc(1024);
if( pi->ipproto == 6 ) {
/* TCP */
- sprintf( buf, "host %s and host %s and (ip proto \\tcp) and (port %d and port %d)",
- pi->srcip, pi->destip, pi->srcport, pi->destport );
+ sprintf( buf, "(ip.addr eq %s and ip.addr eq %s) and (tcp.port eq %d and tcp.port eq %d)",
+ pi->srcip, pi->destip, pi->srcport, pi->destport );
}
else {
free( buf );