From 0e100855807c74434a74040cc6487ca89cc004ba Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Mon, 17 Sep 2001 02:07:00 +0000 Subject: 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 --- packet-nbns.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'packet-nbns.c') 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 * Much stuff added by Guy Harris * - * $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 @@ -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); } -- cgit v1.2.3