Added 'server unavailable' dos error message.
authortpot <tpot@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 25 Feb 2003 02:00:33 +0000 (02:00 +0000)
committertpot <tpot@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 25 Feb 2003 02:00:33 +0000 (02:00 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7192 f5534014-38df-0310-8fa8-9805f1628bb7

packet-smb.c
smb.h

index 068a9901094b6c5c3509c1c7d0f96c023c075a8b..66a0da54b0bbd52e7d24d6378a69e1dbcfbcbbc8 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.309 2003/02/14 04:54:47 guy Exp $
+ * $Id: packet-smb.c,v 1.310 2003/02/25 02:00:32 tpot Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@ethereal.com>
@@ -14280,6 +14280,7 @@ const value_string DOS_errors[] = {
   {SMBE_invalidsecuritydescriptor, "Invalid security descriptor"},
   {SMBE_invalidowner, "Invalid owner"},
   {SMBE_nomoreitems, "No more items"},
+  {SMBE_serverunavailable, "Server unavailable"},
   {0, NULL}
   };
 
diff --git a/smb.h b/smb.h
index b924b79a423b16f62cf589fbc2c0f0f20f32f1f9..e8006ba5686b82d164045b66d256da8922acc125 100644 (file)
--- a/smb.h
+++ b/smb.h
@@ -2,7 +2,7 @@
  * Defines for smb packet dissection
  * Copyright 1999, Richard Sharpe <rsharpe@ns.aus.com>
  *
- * $Id: smb.h,v 1.48 2003/01/22 00:40:31 sahlberg Exp $
+ * $Id: smb.h,v 1.49 2003/02/25 02:00:33 tpot Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@ethereal.com>
@@ -153,6 +153,7 @@ extern const value_string nt_cmd_vals[];
 #define SMBE_eas_didnt_fit 275     /* Extended attributes didn't fit */
 #define SMBE_eas_nsup 282          /* Extended attributes not supported */
 #define SMBE_notify_buf_small 1022 /* Buffer too small to return change notify. */
+#define SMBE_serverunavailable 1722/* Server unavailable */
 #define SMBE_unknownipc 2142
 #define SMBE_noipc 66              /* don't support ipc */