modperl branch collapsed back to MAIN trunk, man!
[www.jankratochvil.net.git] / project / etherealwsp / ethereal-2002-08-03-packet-wsp.c-contentlocation.diff
diff --git a/project/etherealwsp/ethereal-2002-08-03-packet-wsp.c-contentlocation.diff b/project/etherealwsp/ethereal-2002-08-03-packet-wsp.c-contentlocation.diff
new file mode 100644 (file)
index 0000000..e86ee3f
--- /dev/null
@@ -0,0 +1,39 @@
+--- ethereal-2002-08-03/packet-wsp.c-orig      Sat Aug  3 01:36:04 2002
++++ ethereal-2002-08-03/packet-wsp.c   Mon Aug  5 06:25:00 2002
+@@ -109,6 +109,7 @@
+ static int hf_wsp_header_connection_str                       = HF_EMPTY;
+ static int hf_wsp_header_cache_control_field_name_str = HF_EMPTY;
+ static int hf_wsp_header_content_length                       = HF_EMPTY;
++static int hf_wsp_header_content_location             = HF_EMPTY;
+ static int hf_wsp_header_age                          = HF_EMPTY;
+ static int hf_wsp_header_bearer_indication            = HF_EMPTY;
+ static int hf_wsp_header_date                         = HF_EMPTY;
+@@ -1724,7 +1725,13 @@
+                   hf_wsp_header_content_length,
+                   headerType);
+               break;
+-                              
++
++      case FN_CONTENT_LOCATION:       /* Content-Location */
++              add_string_value_header (tree, header_buff, headerLen,
++                  value_buff, valueType, valueLen,
++                  hf_wsp_header_content_location, headerType);
++              break;
++
+       case FN_DATE:                   /* Date */
+               add_date_value_header (tree, header_buff, headerLen,
+                   value_buff, valueType, valueLen,
+@@ -4538,6 +4545,13 @@
+                               "Content-Length", HFILL
+                       }
+               },
++              { &hf_wsp_header_content_location,
++                      {       "Content-Location",           
++                              "wsp.header.content_location",
++                               FT_STRING, BASE_NONE, NULL, 0x00,
++                              "Content-Location", HFILL
++                      }
++              },
+               { &hf_wsp_header_date,
+                       {       "Date",           
+                               "wsp.header.date",