diff options
author | Simo Sorce <idra@samba.org> | 2010-07-16 15:15:48 -0400 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2010-07-16 16:02:39 -0400 |
commit | 65116adcebe23d3ae42a641515f6001268ed0ef0 (patch) | |
tree | e9becdcf344e99d893bcb1dc07709b967a7ea34b /librpc/rpc | |
parent | ec25a000317f863df7af0d97f1fd8948b2f8959d (diff) | |
download | samba-65116adcebe23d3ae42a641515f6001268ed0ef0.tar.gz samba-65116adcebe23d3ae42a641515f6001268ed0ef0.tar.bz2 samba-65116adcebe23d3ae42a641515f6001268ed0ef0.zip |
s3-dcerpc: Fix ability to receive Big Endian PDUs
Diffstat (limited to 'librpc/rpc')
-rw-r--r-- | librpc/rpc/dcerpc_util.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/librpc/rpc/dcerpc_util.c b/librpc/rpc/dcerpc_util.c index a4bc096ddd..c79cfd506a 100644 --- a/librpc/rpc/dcerpc_util.c +++ b/librpc/rpc/dcerpc_util.c @@ -52,6 +52,11 @@ void dcerpc_set_auth_length(DATA_BLOB *blob, uint16_t v) } } +uint8_t dcerpc_get_endian_flag(DATA_BLOB *blob) +{ + return blob->data[DCERPC_DREP_OFFSET]; +} + /* pull an dcerpc_auth structure, taking account of any auth padding in the blob at the end of the structure |