Wireshark-dev: Re: [Wireshark-dev] Controlling Tshark output format

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Mon, 12 Feb 2007 09:34:32 -0800
Douglas Pratley wrote:

b) I didn't want to restrict the possible names of fields. So far, all
the ones in Wireshark are "sensible" strings, but I can't find any code
that restricts them, so they might contain commas, spaces, etc.

See the loop in proto_register_field_init() which scans hfinfo->abbrev to make sure it only contains alphanumerics, "-", "_", and ".".