diff options
author | Olivier Biot <obiot.ethereal@gmail.com> | 2004-01-09 22:10:02 +0000 |
---|---|---|
committer | Olivier Biot <obiot.ethereal@gmail.com> | 2004-01-09 22:10:02 +0000 |
commit | e09c8850a63a2c3a80b22ba384a53b6623863692 (patch) | |
tree | a0b3651f19b35bc4cc5895af43ee50c488979237 /packet-wsp.c | |
parent | 8073ac93cdc9603f273f2c864156f859b8ae9e63 (diff) | |
download | wireshark-e09c8850a63a2c3a80b22ba384a53b6623863692.tar.gz wireshark-e09c8850a63a2c3a80b22ba384a53b6623863692.tar.bz2 wireshark-e09c8850a63a2c3a80b22ba384a53b6623863692.zip |
Decode HEAD, OPTIONS, TRACE, DELETE as GET.
Decode PUT as POST.
Note: It looks like the WAP specs are not publicly available anymore.
svn path=/trunk/; revision=9619
Diffstat (limited to 'packet-wsp.c')
-rw-r--r-- | packet-wsp.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/packet-wsp.c b/packet-wsp.c index bd1bf19042..f1beacf120 100644 --- a/packet-wsp.c +++ b/packet-wsp.c @@ -2,7 +2,7 @@ * * Routines to dissect WSP component of WAP traffic. * - * $Id: packet-wsp.c,v 1.103 2004/01/04 02:55:03 obiot Exp $ + * $Id: packet-wsp.c,v 1.104 2004/01/09 22:10:02 obiot Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -4900,6 +4900,10 @@ dissect_wsp_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, break; case WSP_PDU_GET: + case WSP_PDU_OPTIONS: + case WSP_PDU_HEAD: + case WSP_PDU_DELETE: + case WSP_PDU_TRACE: count = 0; /* Initialise count */ /* Length of URI and size of URILen field */ value = tvb_get_guintvar (tvb, offset, &count); @@ -4913,6 +4917,7 @@ dissect_wsp_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, break; case WSP_PDU_POST: + case WSP_PDU_PUT: uriStart = offset; count = 0; /* Initialise count */ uriLength = tvb_get_guintvar (tvb, offset, &count); |