aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-kerberos.c
diff options
context:
space:
mode:
authorjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>2010-05-20 18:34:38 +0000
committerjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>2010-05-20 18:34:38 +0000
commitd92d5a3858f098e8a800671bd1c65589f21cac60 (patch)
tree5c3150ab21bfe5a19f41184474c2320c0c492785 /epan/dissectors/packet-kerberos.c
parent22da8eb347ebbaa7802def553def8b164d43cd5a (diff)
From Hadar Shoham:
Add support to AP request option reserved bit. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32910 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-kerberos.c')
-rw-r--r--epan/dissectors/packet-kerberos.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/epan/dissectors/packet-kerberos.c b/epan/dissectors/packet-kerberos.c
index 21151953ca..9f4506ad54 100644
--- a/epan/dissectors/packet-kerberos.c
+++ b/epan/dissectors/packet-kerberos.c
@@ -239,6 +239,7 @@ static gint hf_krb_KrbCredInfo = -1;
static gint hf_krb_HostAddress = -1;
static gint hf_krb_HostAddresses = -1;
static gint hf_krb_APOptions = -1;
+static gint hf_krb_APOptions_reserved = -1;
static gint hf_krb_APOptions_use_session_key = -1;
static gint hf_krb_APOptions_mutual_required = -1;
static gint hf_krb_TicketFlags = -1;
@@ -1529,7 +1530,10 @@ dissect_krb5_application_choice(proto_tree *tree, tvbuff_t *tvb, int offset, asn
return offset;
}
-
+static const true_false_string krb5_apoptions_reserved = {
+ "RESERVED bit on",
+ "RESERVED bit off"
+};
static const true_false_string krb5_apoptions_use_session_key = {
"USE SESSION KEY to encrypt the ticket",
"Do NOT use the session key to encrypt the ticket"
@@ -1540,6 +1544,7 @@ static const true_false_string krb5_apoptions_mutual_required = {
};
static int *APOptions_bits[] = {
+ &hf_krb_APOptions_reserved,
&hf_krb_APOptions_use_session_key,
&hf_krb_APOptions_mutual_required,
NULL
@@ -4953,6 +4958,9 @@ proto_register_kerberos(void)
{ &hf_krb_APOptions, {
"APOptions", "kerberos.apoptions", FT_BYTES, BASE_NONE,
NULL, 0, "Kerberos APOptions bitstring", HFILL }},
+ { &hf_krb_APOptions_reserved, {
+ "reserved", "kerberos.apoptions.reserved", FT_BOOLEAN, 32,
+ TFS(&krb5_apoptions_reserved), 0x80000000, NULL, HFILL }},
{ &hf_krb_APOptions_use_session_key, {
"Use Session Key", "kerberos.apoptions.use_session_key", FT_BOOLEAN, 32,
TFS(&krb5_apoptions_use_session_key), 0x40000000, NULL, HFILL }},