http://bugs.ethereal.com/bugzilla/show_bug.cgi?id=377
[obnox/wireshark/wip.git] / tap-wspstat.c
index d22610b35b996e086e31e6b7bafb39a9ff7c8cdb..1e77dd465730c492856ceb1beeaaa45a7a4403aa 100644 (file)
@@ -40,6 +40,7 @@
 #include <string.h>
 #include "epan/packet_info.h"
 #include <epan/tap.h>
+#include <epan/stat_cmd_args.h>
 #include "register.h"
 #include "epan/value_string.h"
 #include <epan/dissectors/packet-wsp.h>
@@ -280,5 +281,5 @@ wspstat_init(const char *optarg)
 void 
 register_tap_listener_wspstat(void)
 {
-       register_tap_listener_cmd_arg("wsp,stat,", wspstat_init);
+       register_stat_cmd_arg("wsp,stat,", wspstat_init);
 }