diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-12-31 01:17:21 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-12-31 01:17:21 +0000 |
commit | 78302da55bc653113dfb4813c266c9176e2ac154 (patch) | |
tree | 91c2be6e9f4fdae197af1f1708f0346838943bd3 /packet-tds.c | |
parent | c45a2852f08450ed85b49df7bf37905e9fc52d2b (diff) |
If a packet has a packet number of 0, it's not a fragment if the status
is "last buffer".
svn path=/trunk/; revision=9503
Diffstat (limited to 'packet-tds.c')
-rw-r--r-- | packet-tds.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-tds.c b/packet-tds.c index 7fd51b1a54..7f4ad80799 100644 --- a/packet-tds.c +++ b/packet-tds.c @@ -3,7 +3,7 @@ * Copyright 2000-2002, Brian Bruns <camber@ais.org> * Copyright 2002, Steve Langasek <vorlon@netexpress.net> * - * $Id: packet-tds.c,v 1.20 2003/12/27 02:17:22 guy Exp $ + * $Id: packet-tds.c,v 1.21 2003/12/31 01:17:21 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -994,7 +994,7 @@ dissect_netlib_buffer(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) */ save_fragmented = pinfo->fragmented; if (tds_defragment && - (packet_number != 1 || status == STATUS_NOT_LAST_BUFFER)) { + (packet_number > 1 || status == STATUS_NOT_LAST_BUFFER)) { if (status == STATUS_NOT_LAST_BUFFER) { if (check_col(pinfo->cinfo, COL_INFO)) col_append_str(pinfo->cinfo, COL_INFO, |