Only display errors in SMB headers in the COL_INFO field. This gets
authortpot <tpot@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 14 Nov 2002 23:14:14 +0000 (23:14 +0000)
committertpot <tpot@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 14 Nov 2002 23:14:14 +0000 (23:14 +0000)
rid of the annoying STATUS_BUFFER_OVERFLOW messages when dissecting
large DCERPC responses as a buffer overflow is only a informational
message not an error.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6632 f5534014-38df-0310-8fa8-9805f1628bb7

packet-smb.c

index 7e35557a17719ef176d9179177b6d360b3821e00..facb7f0601365fa9d74dc2bb91ecdf481993fb97 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright 1999, Richard Sharpe <rsharpe@ns.aus.com>
  * 2001  Rewrite by Ronnie Sahlberg and Guy Harris
  *
- * $Id: packet-smb.c,v 1.297 2002/11/08 05:51:33 guy Exp $
+ * $Id: packet-smb.c,v 1.298 2002/11/14 23:14:14 tpot Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@ethereal.com>
@@ -15686,7 +15686,7 @@ dissect_smb(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
                         * The status is an NT status code; was there
                         * an error?
                         */
-                       if (nt_status != 0) {
+                       if ((nt_status & 0xC0000000) == 0xC0000000) {
                                /*
                                 * Yes.
                                 */