diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-11-19 10:23:39 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-11-19 10:23:39 +0000 |
commit | 5b36683d396273fff17ad78937bf54e68db87a62 (patch) | |
tree | 8840ab597a7695a3c406d61b4eecfd1963a2c8bd /packet-smb-logon.c | |
parent | 853aa01c6e9f89d00c71734dc4f6f0d59b243dc5 (diff) |
Make the register routines for the mailslot, pipe, browser, and
mailslot-based logon protocols just be regular register routines,
detected by the script that generates the "register.c" file, rather than
special stuff known to the SMB dissector.
svn path=/trunk/; revision=4222
Diffstat (limited to 'packet-smb-logon.c')
-rw-r--r-- | packet-smb-logon.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/packet-smb-logon.c b/packet-smb-logon.c index 11987fa99a..25d1781bff 100644 --- a/packet-smb-logon.c +++ b/packet-smb-logon.c @@ -2,7 +2,7 @@ * Routines for SMB net logon packet dissection * Copyright 2000, Jeffrey C. Foster <jfoste@woodward.com> * - * $Id: packet-smb-logon.c,v 1.19 2001/07/13 07:04:23 guy Exp $ + * $Id: packet-smb-logon.c,v 1.20 2001/11/19 10:23:38 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -841,11 +841,9 @@ dissect_smb_logon(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) return TRUE; } - - void -register_proto_smb_logon( void){ - +proto_register_smb_logon( void) +{ static hf_register_info hf[] = { { &hf_command, { "Command", "netlogon.command", FT_UINT8, BASE_HEX, |