aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-wsp.c
diff options
context:
space:
mode:
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2006-11-29 06:53:48 +0000
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2006-11-29 06:53:48 +0000
commitad05098982891fe67553b5519f34fe24297b9da5 (patch)
tree503b624aba472108a9bf76509bb1fbad1c45f3ce /epan/dissectors/packet-wsp.c
parent59bc69178a145f9f46a06478eb139493f8212518 (diff)
From Reinhard Speyerer:
this patch adds support for Any-encoding (WSP, 8.4.2.9) and Any-language (WSP, 8.4.2.10) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20014 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-wsp.c')
-rw-r--r--epan/dissectors/packet-wsp.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/epan/dissectors/packet-wsp.c b/epan/dissectors/packet-wsp.c
index d054e3c2fa..42f928cba9 100644
--- a/epan/dissectors/packet-wsp.c
+++ b/epan/dissectors/packet-wsp.c
@@ -889,6 +889,7 @@ static const value_string vals_content_types[] = {
};
static const value_string vals_languages[] = {
+ { 0x00, "*" },
{ 0x01, "Afar (aa)" },
{ 0x02, "Abkhazian (ab)" },
{ 0x03, "Afrikaans (af)" },
@@ -2613,6 +2614,12 @@ wkh_accept_encoding(proto_tree *tree, tvbuff_t *tvb, guint32 hdr_start, packet_i
tvb, hdr_start, offset - hdr_start, "deflate");
ok = TRUE;
break;
+ case 0x83: /* * */
+ tvb_ensure_bytes_exist(tvb, hdr_start, offset - hdr_start);
+ ti = proto_tree_add_string(tree, hf_hdr_accept_encoding,
+ tvb, hdr_start, offset - hdr_start, "*");
+ ok = TRUE;
+ break;
}
wkh_2_TextualValue;
tvb_ensure_bytes_exist(tvb, hdr_start, offset - hdr_start);