aboutsummaryrefslogtreecommitdiffstats
path: root/tap-smbsids.c
diff options
context:
space:
mode:
authorlego <lego@f5534014-38df-0310-8fa8-9805f1628bb7>2006-02-11 13:05:24 +0000
committerlego <lego@f5534014-38df-0310-8fa8-9805f1628bb7>2006-02-11 13:05:24 +0000
commit4cf0965e67b7901ce372f9a41e815d99b3d69902 (patch)
tree04149b75555afc2d39791e321970f76b1bcaca38 /tap-smbsids.c
parent4eeeb7d9231419272efd9b32edcdec2f0d1591c7 (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-smbsids.c')
-rw-r--r--tap-smbsids.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tap-smbsids.c b/tap-smbsids.c
index cb601a7c19..43cfa0f431 100644
--- a/tap-smbsids.c
+++ b/tap-smbsids.c
@@ -69,7 +69,7 @@ smbsids_draw(void *pss _U_)
static void
-smbsids_init(const char *optarg _U_)
+smbsids_init(const char *optarg _U_, void* userdata _U_)
{
GString *error_string;
@@ -96,6 +96,6 @@ smbsids_init(const char *optarg _U_)
void
register_tap_listener_smbsids(void)
{
- register_stat_cmd_arg("smb,sids", smbsids_init);
+ register_stat_cmd_arg("smb,sids", smbsids_init,NULL);
}