+etherealmmse,etherealwsp
[www.jankratochvil.net.git] / project / etherealwsp / ethereal-2002-08-03-packet-wsp.c-contentlocation.diff
1 --- ethereal-2002-08-03/packet-wsp.c-orig       Sat Aug  3 01:36:04 2002
2 +++ ethereal-2002-08-03/packet-wsp.c    Mon Aug  5 06:25:00 2002
3 @@ -109,6 +109,7 @@
4  static int hf_wsp_header_connection_str                        = HF_EMPTY;
5  static int hf_wsp_header_cache_control_field_name_str  = HF_EMPTY;
6  static int hf_wsp_header_content_length                        = HF_EMPTY;
7 +static int hf_wsp_header_content_location              = HF_EMPTY;
8  static int hf_wsp_header_age                           = HF_EMPTY;
9  static int hf_wsp_header_bearer_indication             = HF_EMPTY;
10  static int hf_wsp_header_date                          = HF_EMPTY;
11 @@ -1724,7 +1725,13 @@
12                     hf_wsp_header_content_length,
13                     headerType);
14                 break;
15 -                               
16 +
17 +       case FN_CONTENT_LOCATION:       /* Content-Location */
18 +               add_string_value_header (tree, header_buff, headerLen,
19 +                   value_buff, valueType, valueLen,
20 +                   hf_wsp_header_content_location, headerType);
21 +               break;
22 +
23         case FN_DATE:                   /* Date */
24                 add_date_value_header (tree, header_buff, headerLen,
25                     value_buff, valueType, valueLen,
26 @@ -4538,6 +4545,13 @@
27                                 "Content-Length", HFILL
28                         }
29                 },
30 +               { &hf_wsp_header_content_location,
31 +                       {       "Content-Location",           
32 +                               "wsp.header.content_location",
33 +                                FT_STRING, BASE_NONE, NULL, 0x00,
34 +                               "Content-Location", HFILL
35 +                       }
36 +               },
37                 { &hf_wsp_header_date,
38                         {       "Date",           
39                                 "wsp.header.date",