Ethereal-dev: [Ethereal-dev] [patch] Fix display of (RPC) AUTH_DH nickname

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Mike Frisch <mfrisch@xxxxxxxxxx>
Date: Mon, 18 Nov 2002 14:30:58 -0500
The enclosed patch fixes a small problem with the display of the
nickname in a Sun/ONC RPC AUTH_DH header.
Index: packet-rpc.c

===================================================================

RCS file: /cvsroot/ethereal/packet-rpc.c,v

retrieving revision 1.109

diff -u -r1.109 packet-rpc.c

--- packet-rpc.c	2002/11/18 09:35:29	1.109

+++ packet-rpc.c	2002/11/18 19:28:32

@@ -900,7 +900,7 @@

 	case AUTHDES_NAMEKIND_NICKNAME:

 		nickname = tvb_get_ntohl(tvb, offset+0);

 		proto_tree_add_uint(tree, hf_rpc_authdes_nickname, tvb, offset+0, 4,

-			window);

+			nickname);

 		offset += 4;

 		break;

 	}