aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-smb-common.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2004-08-02 23:46:14 +0000
committerGuy Harris <guy@alum.mit.edu>2004-08-02 23:46:14 +0000
commit8b73c7905687775416505d7a68e6b8aeb199872e (patch)
tree6516579894d4b4b711a37ad7c7ab9e7dfde042e1 /epan/dissectors/packet-smb-common.c
parent135dd00b1451ab86cee30cca5a4850da0a4980ad (diff)
"dissect_smb_unknown()" isn't some generic routine, it's used only to
dissect unknown netlogon commands; move it to "packet-smb-logon.c". svn path=/trunk/; revision=11589
Diffstat (limited to 'epan/dissectors/packet-smb-common.c')
-rw-r--r--epan/dissectors/packet-smb-common.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/epan/dissectors/packet-smb-common.c b/epan/dissectors/packet-smb-common.c
index 4199654b1a..fb6cdcdf11 100644
--- a/epan/dissectors/packet-smb-common.c
+++ b/epan/dissectors/packet-smb-common.c
@@ -288,14 +288,3 @@ get_unicode_or_ascii_string(tvbuff_t *tvb, int *offsetp,
*len = string_len;
return string;
}
-
-int
-dissect_smb_unknown(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset)
-{
- /* display data as unknown */
-
- proto_tree_add_text(tree, tvb, offset, -1, "Data (%u bytes)",
- tvb_reported_length_remaining(tvb, offset));
-
- return offset+tvb_length_remaining(tvb, offset);
-}