diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-10-20 18:42:01 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-10-20 18:42:01 +0000 |
commit | b37cf9406e90c0980fc0f9d9a4aa71cfc04c0ab0 (patch) | |
tree | 078dcd49db84ce115ee17ab6c0c0af92e571da7b | |
parent | 24c930c708fce6e3ed7aa15ba2139302a5966019 (diff) |
If we decide that a packet to or from port 2000 isn't really a Skinny
Client Control Protocol packet, at least dissect its payload as data.
svn path=/trunk/; revision=4048
-rw-r--r-- | packet-skinny.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packet-skinny.c b/packet-skinny.c index e7c01500e8..0d3b7966b4 100644 --- a/packet-skinny.c +++ b/packet-skinny.c @@ -7,7 +7,7 @@ * This file is based on packet-aim.c, which is * Copyright 2000, Ralf Hoelzer <ralf@well.com> * - * $Id: packet-skinny.c,v 1.3 2001/10/11 16:04:36 guy Exp $ + * $Id: packet-skinny.c,v 1.4 2001/10/20 18:42:01 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -204,6 +204,7 @@ static void dissect_skinny(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) /* hdr_data_length > 1024 is just a heuristic. Better values/checks welcome */ if (hdr_data_length < 4 || hdr_data_length > 1024 || hdr_reserved != 0) { /* Not an SKINNY packet, just happened to use the same port */ + dissect_data(tvb, 0, pinfo, tree); return; } |