forked from osmocom/wireshark
Update new RSVP host list and conversation stats to match recent changes
to the way command-line arguments and menu items for stats are done. svn path=/trunk/; revision=15737
This commit is contained in:
parent
3766c03346
commit
dc7b533e41
|
@ -32,7 +32,8 @@
|
|||
#include <string.h>
|
||||
#include "epan/packet.h"
|
||||
#include <epan/stat_cmd_args.h>
|
||||
#include "stat_menu.h"
|
||||
#include "../stat_menu.h"
|
||||
#include "gui_stat_menu.h"
|
||||
#include <epan/tap.h>
|
||||
#include "../register.h"
|
||||
#include "conversations_table.h"
|
||||
|
@ -52,9 +53,9 @@ rsvp_conversation_packet(void *pct, packet_info *pinfo, epan_dissect_t *edt _U_,
|
|||
}
|
||||
|
||||
static void
|
||||
rsvp_conversation_init(char *optarg)
|
||||
rsvp_conversation_init(const char *optarg)
|
||||
{
|
||||
char *filter=NULL;
|
||||
const char *filter=NULL;
|
||||
|
||||
if(!strncmp(optarg,"conv,rsvp,",10)){
|
||||
filter=optarg+10;
|
||||
|
|
|
@ -33,7 +33,9 @@
|
|||
#include <gtk/gtk.h>
|
||||
#include <string.h>
|
||||
#include "epan/packet.h"
|
||||
#include "stat_menu.h"
|
||||
#include <epan/stat_cmd_args.h>
|
||||
#include "../stat_menu.h"
|
||||
#include "gui_stat_menu.h"
|
||||
#include <epan/tap.h>
|
||||
#include "../register.h"
|
||||
#include "hostlist_table.h"
|
||||
|
@ -59,9 +61,9 @@ rsvp_hostlist_packet(void *pit, packet_info *pinfo, epan_dissect_t *edt _U_, con
|
|||
}
|
||||
|
||||
static void
|
||||
gtk_rsvp_hostlist_init(char *optarg)
|
||||
gtk_rsvp_hostlist_init(const char *optarg)
|
||||
{
|
||||
char *filter=NULL;
|
||||
const char *filter=NULL;
|
||||
|
||||
if(!strncmp(optarg,"hosts,rsvp,",11)){
|
||||
filter=optarg+11;
|
||||
|
|
Loading…
Reference in New Issue