diff options
author | Luis Ontanon <luis.ontanon@gmail.com> | 2007-01-23 23:34:41 +0000 |
---|---|---|
committer | Luis Ontanon <luis.ontanon@gmail.com> | 2007-01-23 23:34:41 +0000 |
commit | e9d3877fb8a59f32306ea8e3595ae319e964dac4 (patch) | |
tree | 694885fdef0fa7dacc2e4dad510e0dab2b441dbc /epan/wslua/wslua_pinfo.c | |
parent | e42f2848f52d9103986f1800c69f93195b712308 (diff) |
tvb:range did not appear under Tvb in generated refman
pinfo.curr_proto appeared as pinfo.match
pinfo.columns in the refman was pinfo.cols in lua (now it is both in lua and in refman)
svn path=/trunk/; revision=20539
Diffstat (limited to 'epan/wslua/wslua_pinfo.c')
-rw-r--r-- | epan/wslua/wslua_pinfo.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/epan/wslua/wslua_pinfo.c b/epan/wslua/wslua_pinfo.c index 0ea51ed085..06ee625250 100644 --- a/epan/wslua/wslua_pinfo.c +++ b/epan/wslua/wslua_pinfo.c @@ -817,12 +817,15 @@ static const pinfo_method_t Pinfo_methods[] = { /* WSLUA_ATTRIBUTE Pinfo_match RO Port/Data we are matching */ {"match", Pinfo_match, pushnil_param, PARAM_NONE }, - /* WSLUA_ATTRIBUTE Pinfo_match RO Which Protocol are we dissecting */ + /* WSLUA_ATTRIBUTE Pinfo_curr_proto RO Which Protocol are we dissecting */ {"curr_proto", Pinfo_curr_proto, pushnil_param, PARAM_NONE }, /* WSLUA_ATTRIBUTE Pinfo_columns RO Accesss to the packet list columns */ - {"cols", Pinfo_columns, pushnil_param, PARAM_NONE }, + {"columns", Pinfo_columns, pushnil_param, PARAM_NONE }, + /* WSLUA_ATTRIBUTE Pinfo_cols RO Accesss to the packet list columns (equivalent to pinfo.cols) */ + {"cols", Pinfo_columns, pushnil_param, PARAM_NONE }, + {NULL,NULL,NULL,PARAM_NONE} }; |