summaryrefslogtreecommitdiff
path: root/source3/rpc_parse
diff options
context:
space:
mode:
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r--source3/rpc_parse/parse_rpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_parse/parse_rpc.c b/source3/rpc_parse/parse_rpc.c
index 9eeae176c7..7de6998c9d 100644
--- a/source3/rpc_parse/parse_rpc.c
+++ b/source3/rpc_parse/parse_rpc.c
@@ -242,7 +242,7 @@ int cli_get_pipe_idx(const RPC_IFACE *syntax)
int i;
for (i = 0; pipe_names[i].client_pipe; i++) {
if (GUID_equal(&pipe_names[i].abstr_syntax.uuid, &syntax->uuid) &&
- pipe_names[i].abstr_syntax.version == syntax->version)
+ pipe_names[i].abstr_syntax.if_version == syntax->if_version)
return i;
}