NetFlow: Fix a preference description.
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>
This commit is contained in:
parent
11c10244ef
commit
cda23193bf
1 changed files with 2 additions and 1 deletions
|
@ -772,6 +772,7 @@ static const value_string v9_v10_template_types[] = {
|
||||||
{ 37084, "TRANSPORT_TCP_WINDOWS_SIZE_MAX" },
|
{ 37084, "TRANSPORT_TCP_WINDOWS_SIZE_MAX" },
|
||||||
{ 37085, "TRANSPORT_TCP_WINDOWS_SIZE_MEAN" },
|
{ 37085, "TRANSPORT_TCP_WINDOWS_SIZE_MEAN" },
|
||||||
{ 37086, "TRANSPORT_TCP_MAXIMUM_SEGMENT_SIZE" },
|
{ 37086, "TRANSPORT_TCP_MAXIMUM_SEGMENT_SIZE" },
|
||||||
|
/* Cisco ASA 5500 */
|
||||||
{ 40000, "AAA_USERNAME" },
|
{ 40000, "AAA_USERNAME" },
|
||||||
{ 40001, "XLATE_SRC_ADDR_IPV4" },
|
{ 40001, "XLATE_SRC_ADDR_IPV4" },
|
||||||
{ 40002, "XLATE_DST_ADDR_IPV4" },
|
{ 40002, "XLATE_DST_ADDR_IPV4" },
|
||||||
|
@ -11995,7 +11996,7 @@ proto_register_netflow(void)
|
||||||
"Maximum number of fields allowed in a template",
|
"Maximum number of fields allowed in a template",
|
||||||
"Set the number of fields allowed in a template. "
|
"Set the number of fields allowed in a template. "
|
||||||
"Use 0 (zero) for unlimited. "
|
"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);
|
10, &v9_tmplt_max_fields);
|
||||||
|
|
||||||
register_init_routine(&netflow_init);
|
register_init_routine(&netflow_init);
|
||||||
|
|
Loading…
Reference in a new issue