From 60d9b40ba4fec876b7288bd51340d6b302af00e3 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Fri, 4 Feb 2005 01:32:19 +0000 Subject: r5209: Fix the endpoint mapper to work with IPX endpoints (which accidently have the same protocol id as UUID's) Before this, Samba would give NDR errors when contacting a remote server that has IPX support enabled. This one was on my long due bugs list. (This used to be commit 7b847de64f35b8e897b64ad047d8aea3813214f8) --- source4/gtk/tools/gepdump.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'source4/gtk') diff --git a/source4/gtk/tools/gepdump.c b/source4/gtk/tools/gepdump.c index 4c8595f87c..88cd9ff8b7 100644 --- a/source4/gtk/tools/gepdump.c +++ b/source4/gtk/tools/gepdump.c @@ -96,11 +96,14 @@ static void add_epm_entry(TALLOC_CTX *mem_ctx, const char *annotation, struct ep for (i = 0; i < t->num_floors; i++) { const char *data; + struct GUID if_uuid; + uint16_t if_version; GtkTreeIter iter; gtk_tree_store_append(store_eps, &iter, &toweriter); + dcerpc_floor_get_lhs_data(&t->floors[i], &if_uuid, &if_version); if (t->floors[i].lhs.protocol == EPM_PROTOCOL_UUID) { - data = GUID_string(mem_ctx, &t->floors[i].lhs.info.uuid.uuid); + data = GUID_string(mem_ctx, &if_uuid); } else { data = dcerpc_floor_get_rhs_data(mem_ctx, &t->floors[i]); } -- cgit