forked from osmocom/wireshark
From Greg Morris:
epan/dissectors/ncp2222.py - Fixes the NCP group values for all NCP's. Also fixes some additional return values and cleanup. gtk/ncp_stat.c - Fixes the NCP group values for SRT. gtk/service_response_time_table.c: The SRT is broken if you hit the reload button or apply a filter. The table isn't cleared so each item in the list is duplicated and the second entries remain with initial values. This patch clears the GTK_CLIST so that the redundant entries no longer appear. svn path=/trunk/; revision=17139
This commit is contained in:
parent
e5e25269c9
commit
ac54c854d4
File diff suppressed because it is too large
Load Diff
|
@ -85,21 +85,29 @@ typedef struct _ncpstat_t {
|
|||
} ncpstat_t;
|
||||
|
||||
static const value_string ncp_group_vals[] = {
|
||||
{ 0, "File" },
|
||||
{ 1, "Queue Management System (QMS)" },
|
||||
{ 2, "Connection" },
|
||||
{ 3, "File Server" },
|
||||
{ 4, "Message" },
|
||||
{ 5, "Bindery" },
|
||||
{ 6, "Novell Directory Services" },
|
||||
{ 7, "Accounting" },
|
||||
{ 8, "Server Statistics" },
|
||||
{ 0, "Synchronization" },
|
||||
{ 1, "Print" },
|
||||
{ 2, "File System" },
|
||||
{ 3, "Connection" },
|
||||
{ 4, "File Server Environment" },
|
||||
{ 5, "Message" },
|
||||
{ 6, "Bindery" },
|
||||
{ 7, "Queue Management System (QMS)" },
|
||||
{ 8, "Accounting" },
|
||||
{ 9, "Transaction Tracking" },
|
||||
{ 10, "AFP" },
|
||||
{ 11, "Auditing" },
|
||||
{ 12, "Novell Modular Authentication Service" },
|
||||
{ 13, "SecretStore Services" },
|
||||
{ 14, "Communication" }
|
||||
{ 11, "NCP Extension" },
|
||||
{ 12, "Extended Attribute" },
|
||||
{ 13, "Auditing" },
|
||||
{ 14, "Enhanced File System" },
|
||||
{ 15, "Migration" },
|
||||
{ 16, "Novell Modular Authentication Services (NMAS)" },
|
||||
{ 17, "Secret Store Services (SSS)" },
|
||||
{ 18, "Packet Burst" },
|
||||
{ 19, "Novell Directory Services (NDS)" },
|
||||
{ 20, "Time Synchronization" },
|
||||
{ 21, "Server Statistics" },
|
||||
{ 22, "Remote" }
|
||||
};
|
||||
|
||||
static const value_string sss_verb_enum[] = {
|
||||
|
@ -410,6 +418,7 @@ win_destroy_cb(GtkWindow *win _U_, gpointer data)
|
|||
remove_tap_listener(ss);
|
||||
unprotect_thread_critical_region();
|
||||
|
||||
|
||||
free_srt_table_data(&ss->ncp_srt_table);
|
||||
free_srt_table_data(&ss->func_srt_table);
|
||||
free_srt_table_data(&ss->nds_srt_table);
|
||||
|
|
|
@ -549,6 +549,7 @@ reset_srt_table_data(srt_stat_table *rst)
|
|||
for(i=0;i<rst->num_procs;i++){
|
||||
time_stat_init(&rst->procedures[i].stats);
|
||||
}
|
||||
gtk_clist_clear(rst->table);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in New Issue