aboutsummaryrefslogtreecommitdiffstats
path: root/ui/cli/tap-sctpchunkstat.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui/cli/tap-sctpchunkstat.c')
-rw-r--r--ui/cli/tap-sctpchunkstat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/cli/tap-sctpchunkstat.c b/ui/cli/tap-sctpchunkstat.c
index 1b0f26c134..9f69774177 100644
--- a/ui/cli/tap-sctpchunkstat.c
+++ b/ui/cli/tap-sctpchunkstat.c
@@ -211,14 +211,14 @@ sctpstat_draw(void *phs)
static void
-sctpstat_init(const char *optarg, void* userdata _U_)
+sctpstat_init(const char *opt_arg, void* userdata _U_)
{
sctpstat_t *hs;
GString *error_string;
hs = (sctpstat_t *)g_malloc(sizeof(sctpstat_t));
- if(!strncmp(optarg,"sctp,stat,",11)){
- hs->filter=g_strdup(optarg+11);
+ if(!strncmp(opt_arg,"sctp,stat,",11)){
+ hs->filter=g_strdup(opt_arg+11);
} else {
hs->filter=NULL;
}