Don't do dissector_add twice on TCP port 3689;
authorwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 2 Aug 2009 19:09:36 +0000 (19:09 +0000)
committerwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 2 Aug 2009 19:09:36 +0000 (19:09 +0000)
packet-daap requests registration on that port via http_dissector_add
 and thus packet-http does not need to do a default registration on that port.
Also: fix a typo in a comment.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29265 f5534014-38df-0310-8fa8-9805f1628bb7

epan/dissectors/packet-http.c

index ce9c633ff91153e4cb89219e184e7f87880380ab..d848f814f5e266efe331b29275cf78620a5009d2 100644 (file)
@@ -208,7 +208,7 @@ static gboolean http_decompress_body = FALSE;
  * tcp and ssl ports
  */
 
-#define TCP_DEFAULT_RANGE "80,3128,3132,8080,8088,11371,3689,1900"
+#define TCP_DEFAULT_RANGE "80,3128,3132,8080,8088,11371,1900"
 #define SSL_DEFAULT_RANGE "443"
 
 static range_t *global_http_tcp_range = NULL;
@@ -2258,7 +2258,7 @@ static void reinit_http(void) {
        range_foreach(http_ssl_range, range_add_http_ssl_callback);
 
        /* Attempt to add additional headers that might have been added
-        * one the preferences are applied.
+        * once the preferences are applied.
         */
        add_hf_info_for_headers();
 }