diff options
author | Guy Harris <gharris@sonic.net> | 2021-07-13 23:48:19 -0700 |
---|---|---|
committer | Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org> | 2021-07-14 06:55:12 +0000 |
commit | 7b0c4950a53beeb2d42d72cf683b1862a99f63ea (patch) | |
tree | 36093e5201eda4cbd70250922a3a45bc7d54c3e8 /ui/summary.c | |
parent | b531a6aa61041647b7ba727b49d3622bee9e01e9 (diff) |
wiretap: clean up option definitions a bit.
Spell out "DESCRIPTION" for the IDB description option, as it's spelled
out in the pcapng spec.
Put the #defines for various options in the same order as the block
types for them are in the pcapng spec.
Diffstat (limited to 'ui/summary.c')
-rw-r--r-- | ui/summary.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/summary.c b/ui/summary.c index 038aee3768..fe0174ba9c 100644 --- a/ui/summary.c +++ b/ui/summary.c @@ -185,7 +185,7 @@ summary_fill_in(capture_file *cf, summary_tally *st) } else { iface.name = NULL; } - if (wtap_block_get_string_option_value(wtapng_if_descr, OPT_IDB_DESCR, &if_string) == WTAP_OPTTYPE_SUCCESS) { + if (wtap_block_get_string_option_value(wtapng_if_descr, OPT_IDB_DESCRIPTION, &if_string) == WTAP_OPTTYPE_SUCCESS) { iface.descr = g_strdup(if_string); } else { iface.descr = NULL; |