diff options
author | Guy Harris <guy@alum.mit.edu> | 2019-01-09 13:21:10 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2019-01-09 21:21:56 +0000 |
commit | fd93f5490c6a29d01e5cd11f14679641300469f9 (patch) | |
tree | 4f64fc24239fa7c1fe9b337c352624a69f30b0e6 /epan/wslua | |
parent | c8f87206738f6cfe5328026addc6630b7525c4ad (diff) |
Clarify the name and description for a link-layer encapsulation type.
What we were calling the "name" is actually a description to show to
users; what were calling the "short name" is just the name to use on the
command line.
Rename some routines and structure members, and put the name first and
description second in the table.
Expand some descriptions to give more details (e.g., to be more than
just a capitalized version of the name).
Fix the CamelCase capitalization of InfiniBand.
Change-Id: I060b8bd86573880efd0fab044401b449469563eb
Reviewed-on: https://code.wireshark.org/review/31472
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/wslua')
-rw-r--r-- | epan/wslua/wslua_dumper.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/wslua/wslua_dumper.c b/epan/wslua/wslua_dumper.c index bf9e1eaf6f..64e4a6affd 100644 --- a/epan/wslua/wslua_dumper.c +++ b/epan/wslua/wslua_dumper.c @@ -221,7 +221,7 @@ WSLUA_CONSTRUCTOR Dumper_new(lua_State* L) { case WTAP_ERR_UNWRITABLE_ENCAP: luaL_error(L,"Files of file type %s don't support encapsulation %s", wtap_file_type_subtype_string(filetype), - wtap_encap_short_string(encap)); + wtap_encap_name(encap)); break; default: @@ -384,7 +384,7 @@ WSLUA_METHOD Dumper_new_for_current(lua_State* L) { case WTAP_ERR_UNWRITABLE_ENCAP: luaL_error(L,"Files of file type %s don't support encapsulation %s", wtap_file_type_subtype_string(filetype), - wtap_encap_short_string(encap)); + wtap_encap_name(encap)); break; default: |