aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss@ulticom.com>2012-02-14 03:24:19 +0000
committerJeff Morriss <jeff.morriss@ulticom.com>2012-02-14 03:24:19 +0000
commitd92857dd6b3dbbf453d5b05efb16c16da0032c30 (patch)
treecaaa27f35da986c923d63cbca817e128768a20e3
parent045c1d6a1e1005d41dc9a04e9195d67912104f7b (diff)
As suggested in https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6763 :
Give an example of a Pref.range's default value. svn path=/trunk/; revision=41023
-rw-r--r--epan/wslua/wslua_proto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/wslua/wslua_proto.c b/epan/wslua/wslua_proto.c
index 1cd6f8a939..b976d0ec61 100644
--- a/epan/wslua/wslua_proto.c
+++ b/epan/wslua/wslua_proto.c
@@ -198,7 +198,7 @@ WSLUA_CONSTRUCTOR Pref_enum(lua_State* L) {
WSLUA_CONSTRUCTOR Pref_range(lua_State* L) {
/* Creates a range preference to be added to a Protocol's prefs table. */
#define WSLUA_ARG_Pref_range_LABEL 1 /* The Label (text in the right side of the preference input) for this preference */
-#define WSLUA_ARG_Pref_range_DEFAULT 2 /* The default value for this preference */
+#define WSLUA_ARG_Pref_range_DEFAULT 2 /* The default value for this preference, e.g., "53", "10-30", or "10-30,53,55,100-120" */
#define WSLUA_ARG_Pref_range_DESCR 3 /* A description of what this preference is */
#define WSLUA_ARG_Pref_range_MAX 4 /* The maximum value */
return new_pref(L,PREF_RANGE);