update the alignment for UserInfo so it handles either NDR or NDR64.
authorsahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 3 Oct 2009 00:13:13 +0000 (00:13 +0000)
committersahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 3 Oct 2009 00:13:13 +0000 (00:13 +0000)
This should be done by PIDL once it gets updated.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30255 f5534014-38df-0310-8fa8-9805f1628bb7

epan/dissectors/packet-dcerpc-samr.c

index 000fc4ddfe0759a9798a539c10b989df95df49bb..4233883e8e9276adfc1dace854a2a705d2e53d50 100644 (file)
@@ -7005,7 +7005,7 @@ samr_dissect_UserInfo(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_,
        }
 
        offset = dissect_ndr_uint16(tvb, offset, pinfo, tree, drep, hf_index, &level);
-       ALIGN_TO_4_BYTES;
+       ALIGN_TO_4_OR_8_BYTES;
 
        switch(level) {
                case 1: