Commit graph

6 commits

Author SHA1 Message Date
Ronnie Sahlberg
34c9bd4fe6 The array sminmpec_values should not be declated static since it is
referenced from several dissectors


svn path=/trunk/; revision=34269
2010-09-28 03:31:03 +00:00
Bill Meier
55620b5b75 Generate the value_string array sminmpec_values[] with "gaps"
filled in (using name "(Unknown)" so that direct (indexed)
access to the value_string is possible.

Note that this represents a slight API change in that
match_strval() on sminmpec_values  will no longer return NULL for
missing enterprise numbers (less than the maximum in the array)
but will return the string "(Unknown)".

AFAIKT this change does not materially affect existing Wireshark
use of the sminmpec value_string array.

svn path=/trunk/; revision=34218
2010-09-23 18:48:19 +00:00
Bill Meier
7219ee2a49 Use val_to_str_ext() & friends to access sminmpec_values[];
Also: packet-nhrp.c: #include sminmpec.h not req'd;

svn path=/trunk/; revision=34143
2010-09-17 04:51:21 +00:00
Kovarththanan Rajaratnam
2bb18bac8b Point to the correct perl script in the autogenerated file + correct tabs
svn path=/trunk/; revision=31984
2010-02-24 12:28:04 +00:00
Kovarththanan Rajaratnam
b2f70634a7 Align value_string array properly
svn path=/trunk/; revision=30513
2009-10-11 15:03:57 +00:00
Kovarththanan Rajaratnam
e6486705f7 Move make-sminmpec.pl to tools directory
svn path=/trunk/; revision=30511
2009-10-11 14:39:14 +00:00
Renamed from epan/make-sminmpec.pl (Browse further)