diff options
author | lego <lego@f5534014-38df-0310-8fa8-9805f1628bb7> | 2006-02-11 13:05:24 +0000 |
---|---|---|
committer | lego <lego@f5534014-38df-0310-8fa8-9805f1628bb7> | 2006-02-11 13:05:24 +0000 |
commit | 4cf0965e67b7901ce372f9a41e815d99b3d69902 (patch) | |
tree | 04149b75555afc2d39791e321970f76b1bcaca38 /tap-sctpchunkstat.c | |
parent | 4eeeb7d9231419272efd9b32edcdec2f0d1591c7 (diff) |
add an userdata argument to register_stat_cmd_arg() and its callback to use the callback for multiple registrations.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17252 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'tap-sctpchunkstat.c')
-rw-r--r-- | tap-sctpchunkstat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tap-sctpchunkstat.c b/tap-sctpchunkstat.c index c5b61fb68b..d27afa8391 100644 --- a/tap-sctpchunkstat.c +++ b/tap-sctpchunkstat.c @@ -220,7 +220,7 @@ sctpstat_draw(void *phs) static void -sctpstat_init(const char *optarg) +sctpstat_init(const char *optarg, void* userdata _U_) { sctpstat_t *hs; const char *filter=NULL; @@ -257,5 +257,5 @@ sctpstat_init(const char *optarg) void register_tap_listener_sctpstat(void) { - register_stat_cmd_arg("sctp,stat", sctpstat_init); + register_stat_cmd_arg("sctp,stat", sctpstat_init,NULL); } |