~logan/ubuntu/quantal/tcpdump/debian-merge

« back to all changes in this revision

Viewing changes to print-smb.c

  • Committer: Bazaar Package Importer
  • Author(s): Romain Francoise
  • Date: 2008-03-08 19:24:02 UTC
  • mfrom: (6.1.3 hardy)
  • Revision ID: james.westby@ubuntu.com-20080308192402-9n7erk2yyyd5mpt3
Tags: 3.9.8-4
debian/control: Build-Depend on libpcap0.8-dev (>= 0.9.3),
not (>= 0.9.3-1).

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
 
13
13
#ifndef lint
14
14
static const char rcsid[] _U_ =
15
 
     "@(#) $Header: /tcpdump/master/tcpdump/print-smb.c,v 1.41.2.2 2005/05/08 20:01:09 guy Exp $";
 
15
     "@(#) $Header: /tcpdump/master/tcpdump/print-smb.c,v 1.41.2.4 2007/07/14 22:29:05 guy Exp $";
16
16
#endif
17
17
 
18
18
#include <tcpdump-stdinc.h>
904
904
 
905
905
        printf("\nSMB PACKET: %s (%s) (CHAINED)\n",
906
906
            fn->name, request ? "REQUEST" : "REPLY");
907
 
        if (newsmboffset < smboffset) {
908
 
            printf("Bad andX offset: %u < %u\n", newsmboffset, smboffset);
 
907
        if (newsmboffset <= smboffset) {
 
908
            printf("Bad andX offset: %u <= %u\n", newsmboffset, smboffset);
909
909
            break;
910
910
        }
911
911
        smboffset = newsmboffset;