aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-tds.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2004-08-10 22:45:47 +0000
committerGuy Harris <guy@alum.mit.edu>2004-08-10 22:45:47 +0000
commit5db0829d14e5763fdbc9ec9ad407270fff76621c (patch)
treecc313435694fa1ad71d3e29407928cf2a9bfe7f5 /epan/dissectors/packet-tds.c
parentc3f84106305351f4bb3b656f2459f605e3ae0cff (diff)
The FreeTDS documentation on TDS claims that the field after the locale
(or, as that documentation calls it, the language name) is the database name; mark it as such. It also says there's some other stuff, such as a client MAC address, after the database offset/length (and that the NTLMSSP message doesn't come right after the database offset/length, there's an offset/length for the NTLMSSP message). Put in a comment about that. svn path=/trunk/; revision=11713
Diffstat (limited to 'epan/dissectors/packet-tds.c')
-rw-r--r--epan/dissectors/packet-tds.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/epan/dissectors/packet-tds.c b/epan/dissectors/packet-tds.c
index 69db04a316..826c4c1680 100644
--- a/epan/dissectors/packet-tds.c
+++ b/epan/dissectors/packet-tds.c
@@ -414,7 +414,7 @@ static const value_string login_field_names[] = {
{5, "Unknown1"},
{6, "Library Name"},
{7, "Locale"},
- {8, "Unknown2"},
+ {8, "Database Name"},
{0, NULL},
};
@@ -599,6 +599,9 @@ dissect_tds7_login(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
}
}
+ /*
+ * XXX - what about the client MAC address, etc.?
+ */
length_remaining = tvb_reported_length_remaining(tvb, offset2 + len);
if (length_remaining > 0) {
dissect_tds_ntlmssp(tvb, pinfo, login_tree, offset2 + len,