Index: packet-ncp2222.inc
===================================================================
RCS file: /cvsroot/ethereal/packet-ncp2222.inc,v
retrieving revision 1.51
diff -u -r1.51 packet-ncp2222.inc
--- packet-ncp2222.inc	19 Feb 2003 21:47:46 -0000	1.51
+++ packet-ncp2222.inc	25 Feb 2003 15:33:23 -0000
@@ -5651,15 +5651,17 @@
                                                 }
                                         }
                                         /* For NDS requests with just an EID, resolve name from hash table. */
-                                        if(resolve_eid)
-                                        {
-			                        request_eid_value = ncp_eid_hash_lookup(conversation, global_eid);
-			                        if (request_eid_value) {
-                                                        strcpy(global_object_name, request_eid_value->object_name);
-                                                        proto_tree_add_string_format(ncp_tree, hf_nds_name, tvb, 6, 0,
-	        		        	                global_object_name, "NDS Name for EID - %s",
-		        		                        global_object_name);
-			                        }
+                                        if (!pinfo->fd->flags.visited) {
+                                                if(resolve_eid)
+                                                {
+			                                request_eid_value = ncp_eid_hash_lookup(conversation, global_eid);
+			                                if (request_eid_value) {
+                                                                strcpy(global_object_name, request_eid_value->object_name);
+                                                                proto_tree_add_string_format(ncp_tree, hf_nds_name, tvb, 6, 0,
+	        		        	                        global_object_name, "NDS Name for EID - %s",
+		        		                                global_object_name);
+			                                }
+                                                }        
                                         }
 					for (i = 0; i < 9; i++) {
 						switch (pvalues[i].vtype) {
@@ -6646,7 +6648,7 @@
                                 pvalues[6].bit16 = "Not Defined";
                                 pvalues[6].bit16hfname = hf_bit16siflags;
                                 foffset = foffset+4;
-                                if(pvalues[0].vvalue != 2)
+                                if(pvalues[0].vvalue != 2);
                                 {
                                         pvalues[7].vvalue = tvb_get_letohs(tvb, foffset);
                                         global_flags = tvb_get_letohl(tvb, foffset);
@@ -8147,6 +8149,7 @@
 						}
                                                 /* For NDS requests with just an EID, resolve name from hash table. */
                                         }
+                                        if (!pinfo->fd->flags.visited) {
                                                 request_eid_value = ncp_eid_hash_lookup(conversation, global_eid);
                                                 if(resolve_eid) {
                                                         if (request_eid_value) {
@@ -8159,6 +8162,7 @@
                                                                 /*resolve_eid = FALSE;*/
                                                         }        
                                                 }
+                                        }        
                                         if (request_value)
                                         {
                                                 request_value->nds_request_verb = nds_verb;
