summaryrefslogtreecommitdiff
path: root/packet-nbns.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-09-17 02:07:00 +0000
committerGuy Harris <guy@alum.mit.edu>2001-09-17 02:07:00 +0000
commit0e100855807c74434a74040cc6487ca89cc004ba (patch)
tree3ef57bc5e24ad0aaea7c4aeab782d7242b605afe /packet-nbns.c
parent16b4866dca4871c8359360b4689bd3df06e67b28 (diff)
downloadwireshark-0e100855807c74434a74040cc6487ca89cc004ba.tar.gz
Add support for desegmentation of DNS messages.
Make the default for NBSS and ONC RPC-over-TCP desegmentation "on", rather than "off"; the default for desegmentation in general is "off", so this won't change the default behavior, but it lets you turn desegmentation on by flipping only one switch (and turn it off for particular protocols if you desire). svn path=/trunk/; revision=3943
Diffstat (limited to 'packet-nbns.c')
-rw-r--r--packet-nbns.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/packet-nbns.c b/packet-nbns.c
index 48cf6d54f5..15a2c1116c 100644
--- a/packet-nbns.c
+++ b/packet-nbns.c
@@ -4,7 +4,7 @@
* Gilbert Ramirez <gram@xiexie.org>
* Much stuff added by Guy Harris <guy@alum.mit.edu>
*
- * $Id: packet-nbns.c,v 1.55 2001/09/13 07:53:51 guy Exp $
+ * $Id: packet-nbns.c,v 1.56 2001/09/17 02:07:00 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -80,8 +80,7 @@ static gint ett_nbss = -1;
static gint ett_nbss_flags = -1;
/* desegmentation of NBSS over TCP */
-static gboolean nbss_desegment = FALSE;
-
+static gboolean nbss_desegment = TRUE;
/* See RFC 1001 and 1002 for information on the first three, and see
@@ -1702,8 +1701,8 @@ proto_register_nbt(void)
nbss_module = prefs_register_protocol(proto_nbss, NULL);
prefs_register_bool_preference(nbss_module, "desegment_nbss_commands",
- "Desegment all NBSS commands spanning multiple TCP segments",
- "Whether NBSS dissector should desegment all commands spanning multiple TCP segments",
+ "Desegment all NBSS packets spanning multiple TCP segments",
+ "Whether NBSS dissector should desegment all packets spanning multiple TCP segments",
&nbss_desegment);
}