padding comes before flags

I am not able to find it in RFC, but all of the pcaps I came across  (https://wiki.wireshark.org/SampleCaptures) contain padding in-front of flags.
This commit is contained in:
balintm 2017-07-04 10:42:18 +01:00 committed by GitHub
parent b527a9870d
commit a51047ec6d

View file

@ -136,8 +136,8 @@ type KRB_AP_REQ(is_orig: bool) = record {
type KRB_AP_Options = record {
meta : SequenceElement(false);
: padding[meta.meta.length - 4];
flags : uint32;
: padding[1];
} &let {
reserved : bool = (flags & 0x80000000) > 0;
use_session_key : bool = (flags & 0x40000000) > 0;