From 82d18e3d1a60635ab8b4a916a2496889c013d656 Mon Sep 17 00:00:00 2001 From: Richard Sharpe Date: Mon, 29 Jan 2001 08:14:42 +0000 Subject: [PATCH] Added a new error code I just found ... no such share. svn path=/trunk/; revision=2956 --- packet-smb.c | 3 ++- smb.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packet-smb.c b/packet-smb.c index b8e34f41af..c20ad9190e 100644 --- a/packet-smb.c +++ b/packet-smb.c @@ -2,7 +2,7 @@ * Routines for smb packet dissection * Copyright 1999, Richard Sharpe * - * $Id: packet-smb.c,v 1.78 2001/01/03 16:41:07 gram Exp $ + * $Id: packet-smb.c,v 1.79 2001/01/29 08:14:41 sharpe Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -10478,6 +10478,7 @@ static const value_string DOS_errors[] = { {SMBE_badshare, "Share mode on file conflict with open mode"}, {SMBE_lock, "Lock request conflicts with existing lock"}, {SMBE_unsup, "Request unsupported, returned by Win 95"}, + {SMBE_nosuchshare, "Requested share does not exist"}, {SMBE_filexists, "File in operation already exists"}, {SMBE_cannotopen, "Cannot open the file specified"}, {SMBE_unknownlevel, "Unknown level??"}, diff --git a/smb.h b/smb.h index 91373386ec..71dc68a00e 100644 --- a/smb.h +++ b/smb.h @@ -2,7 +2,7 @@ * Defines for smb packet dissection * Copyright 1999, Richard Sharpe * - * $Id: smb.h,v 1.5 2000/02/14 04:02:21 guy Exp $ + * $Id: smb.h,v 1.6 2001/01/29 08:14:42 sharpe Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -195,6 +195,7 @@ #define SMBE_badshare 32 /* Share mode on file conflict with open mode */ #define SMBE_lock 33 /* Lock request conflicts with existing lock */ #define SMBE_unsup 50 /* Request unsupported, returned by Win 95, RJS 20Jun98 */ +#define SMBE_nosuchshare 67 /* Share does not exits */ #define SMBE_filexists 80 /* File in operation already exists */ #define SMBE_cannotopen 110 /* Cannot open the file specified */ #define SMBE_unknownlevel 124