From 56af440bfa2044b7e9ef5e4bfa48dd4146202e37 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sun, 28 Dec 2003 23:50:31 +0000 Subject: [PATCH] In calls to "dcerpc_init_uuid()" only the *major* version number of the interface is supplied; by virtue of 1.1 being truncated to 1, and by virtue of the putative major and minor version numbers in 1.1 both being 1, a version number initialized to 1.1 presumably happened to work for RPRIV and RS_REPADM, but we might as well do it right. svn path=/trunk/; revision=9465 --- packet-dcerpc-rpriv.c | 4 ++-- packet-dcerpc-rs_repadm.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packet-dcerpc-rpriv.c b/packet-dcerpc-rpriv.c index edc7bb8f82..5853788aee 100644 --- a/packet-dcerpc-rpriv.c +++ b/packet-dcerpc-rpriv.c @@ -5,7 +5,7 @@ * This information is based off the released idl files from opengroup. * ftp://ftp.opengroup.org/pub/dce122/dce/src/security.tar.gz security/idl/rpriv.idl * - * $Id: packet-dcerpc-rpriv.c,v 1.7 2003/12/28 12:43:38 ulfl Exp $ + * $Id: packet-dcerpc-rpriv.c,v 1.8 2003/12/28 23:50:31 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -56,7 +56,7 @@ static gint ett_rpriv = -1; static e_uuid_t uuid_rpriv = { 0xb1e338f8, 0x9533, 0x11c9, { 0xa3, 0x4a, 0x08, 0x00, 0x1e, 0x01, 0x9c, 0x1e } }; -static guint16 ver_rpriv = (guint16) (1.1); +static guint16 ver_rpriv = 1; static int diff --git a/packet-dcerpc-rs_repadm.c b/packet-dcerpc-rs_repadm.c index 38cc96d12d..79ac93bb51 100644 --- a/packet-dcerpc-rs_repadm.c +++ b/packet-dcerpc-rs_repadm.c @@ -5,7 +5,7 @@ * This information is based off the released idl files from opengroup. * ftp://ftp.opengroup.org/pub/dce122/dce/src/security.tar.gz security/idl/rs_repadm.idl * - * $Id: packet-dcerpc-rs_repadm.c,v 1.5 2003/12/28 12:43:38 ulfl Exp $ + * $Id: packet-dcerpc-rs_repadm.c,v 1.6 2003/12/28 23:50:31 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -50,7 +50,7 @@ static gint ett_rs_repadm = -1; static e_uuid_t uuid_rs_repadm = { 0x5b8c2fa8, 0xb60b, 0x11c9, { 0xbe, 0x0f, 0x08, 0x00, 0x1e, 0x01, 0x8f, 0xa0 } }; -static guint16 ver_rs_repadm = (guint16) (1.1); +static guint16 ver_rs_repadm = 1;