diff options
author | Bill Meier <wmeier@newsguy.com> | 2010-10-10 20:45:19 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2010-10-10 20:45:19 +0000 |
commit | 09d718f723cba7c9c59807b1cb4d00ac31100e4d (patch) | |
tree | 4d68f4ac99deff384646f495202491aa10f40e57 /tap-wspstat.c | |
parent | 4ae8d2530043b4e300504fd0f71c7a4a0e52d611 (diff) |
Rename vals_status & vals_pdu_type to wsp_vals_status & wsp_vals_pdu_type
svn path=/trunk/; revision=34463
Diffstat (limited to 'tap-wspstat.c')
-rw-r--r-- | tap-wspstat.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tap-wspstat.c b/tap-wspstat.c index 49e7e59add..ce1b87eaba 100644 --- a/tap-wspstat.c +++ b/tap-wspstat.c @@ -230,14 +230,14 @@ wspstat_init(const char *optarg, void* userdata _U_) sp = g_malloc( sizeof(wspstat_t) ); sp->hash = g_hash_table_new( g_int_hash, g_int_equal); - for (i=0 ; vals_status[i].strptr ; i++ ) + for (i=0 ; wsp_vals_status[i].strptr ; i++ ) { gint *key; sc=g_malloc( sizeof(wsp_status_code_t) ); key=g_malloc( sizeof(gint) ); sc->packets=0; - sc->name=vals_status[i].strptr; - *key=vals_status[i].value; + sc->name=wsp_vals_status[i].strptr; + *key=wsp_vals_status[i].value; g_hash_table_insert( sp->hash, key, @@ -253,7 +253,7 @@ wspstat_init(const char *optarg, void* userdata _U_) for (i=0;i<sp->num_pdus; i++) { sp->pdu_stats[i].packets=0; - sp->pdu_stats[i].type = match_strval( index2pdut( i ), vals_pdu_type) ; + sp->pdu_stats[i].type = match_strval( index2pdut( i ), wsp_vals_pdu_type) ; } error_string = register_tap_listener( |