aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorRichard Sharpe <sharpe@ns.aus.com>1999-10-10 11:50:45 +0000
committerRichard Sharpe <sharpe@ns.aus.com>1999-10-10 11:50:45 +0000
commit42b64a7584c696d0f8958b247c5545ffd146e369 (patch)
tree8a759dcc92672aca2fd936b06e2e71aeaac236f7 /file.c
parent8cdaeb0adc3765705dd1ebfaf03f917fd8292d33 (diff)
downloadwireshark-42b64a7584c696d0f8958b247c5545ffd146e369.tar.gz
wireshark-42b64a7584c696d0f8958b247c5545ffd146e369.tar.bz2
wireshark-42b64a7584c696d0f8958b247c5545ffd146e369.zip
Big bunch of fixes to packet-smb.c for things I need.
Also added first pass of state keeping. I am using glib's hash functions. Modelled after packet-ncp.c. We will need to standardize the <proto>_init_protocol functions called in file.c at some stage ... I will have a couple of more goes at the state keeping before I am finished. At the moment, the infrastructure is there but I do nothing with it. svn path=/trunk/; revision=798
Diffstat (limited to 'file.c')
-rw-r--r--file.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/file.c b/file.c
index f094bd7726..ccc84f2fba 100644
--- a/file.c
+++ b/file.c
@@ -1,7 +1,7 @@
/* file.c
* File I/O routines
*
- * $Id: file.c,v 1.103 1999/10/05 04:34:00 gram Exp $
+ * $Id: file.c,v 1.104 1999/10/10 11:50:38 sharpe Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -132,6 +132,7 @@ open_cap_file(char *fname, capture_file *cf) {
/* Initialize protocol-specific variables */
ncp_init_protocol();
+ smb_init_protocol();
cf->wth = wth;
cf->fh = fh;