aboutsummaryrefslogtreecommitdiffstats
path: root/packet-ncp2222.inc
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-10-14 16:47:56 +0000
committerGuy Harris <guy@alum.mit.edu>2002-10-14 16:47:56 +0000
commit6af349418ab9a2b2c15de3c3db56882279db357b (patch)
treee03e4114196035742da879118b6f8b24f6ab18a9 /packet-ncp2222.inc
parentf58cd0bd5cc68668a18feb5e7aa16594fe924873 (diff)
Create the temporary tree if we're *not* building a protocol tree
already, not if we *are*. svn path=/trunk/; revision=6414
Diffstat (limited to 'packet-ncp2222.inc')
-rw-r--r--packet-ncp2222.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-ncp2222.inc b/packet-ncp2222.inc
index c9239d2473..272d46698d 100644
--- a/packet-ncp2222.inc
+++ b/packet-ncp2222.inc
@@ -8,7 +8,7 @@
* Gilbert Ramirez <gram@alumni.rice.edu>
* Modified to decode NDS packets by Greg Morris <gmorris@novell.com>
*
- * $Id: packet-ncp2222.inc,v 1.33 2002/10/11 21:52:11 guy Exp $
+ * $Id: packet-ncp2222.inc,v 1.34 2002/10/14 16:47:56 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -8263,7 +8263,7 @@ dissect_ping_req(tvbuff_t *tvb, packet_info *pinfo,
* display filters can't possibly work. If we already have
* a proto_tree, then wonderful. If we don't, we need to build
* one. */
- if (ncp_rec && ncp_tree != NULL) {
+ if (ncp_rec && !ncp_tree) {
proto_item *ti;
temp_tree = proto_tree_create_root();