NetFlow: Fix a preference description.
authorGerald Combs <gerald@wireshark.org>
Fri, 30 Sep 2016 18:21:05 +0000 (11:21 -0700)
committerGerald Combs <gerald@wireshark.org>
Fri, 30 Sep 2016 20:56:11 +0000 (20:56 +0000)
Stringify the correct macro so that we print

    (default: 60)

instead of

    (default: V9TEMPLATE_MAX_FIELDS_DEF)

Change-Id: Ie2068eaf577f6024d4a9b64ef5ce761944f269a2
Reviewed-on: https://code.wireshark.org/review/17998
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Gerald Combs <gerald@wireshark.org>
epan/dissectors/packet-netflow.c

index f82f8c6838dd418671d881e4ee26722b536245da..88a4e954f00f0d6ed2a7791b107db95b340027b3 100644 (file)
@@ -772,6 +772,7 @@ static const value_string v9_v10_template_types[] = {
     { 37084, "TRANSPORT_TCP_WINDOWS_SIZE_MAX" },
     { 37085, "TRANSPORT_TCP_WINDOWS_SIZE_MEAN" },
     { 37086, "TRANSPORT_TCP_MAXIMUM_SEGMENT_SIZE" },
+    /* Cisco ASA 5500 */
     { 40000, "AAA_USERNAME" },
     { 40001, "XLATE_SRC_ADDR_IPV4" },
     { 40002, "XLATE_DST_ADDR_IPV4" },
@@ -11995,7 +11996,7 @@ proto_register_netflow(void)
                                    "Maximum number of fields allowed in a template",
                                    "Set the number of fields allowed in a template.  "
                                    "Use 0 (zero) for unlimited.  "
-                                   " (default: " G_STRINGIFY(V9TEMPLATE_MAX_FIELDS_DEF) ")",
+                                   " (default: " G_STRINGIFY(V9_TMPLT_MAX_FIELDS_DEF) ")",
                                    10, &v9_tmplt_max_fields);
 
     register_init_routine(&netflow_init);