aboutsummaryrefslogtreecommitdiffstats
path: root/tap-wspstat.c
diff options
context:
space:
mode:
Diffstat (limited to 'tap-wspstat.c')
-rw-r--r--tap-wspstat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tap-wspstat.c b/tap-wspstat.c
index d22610b35b..a5d744e9c9 100644
--- a/tap-wspstat.c
+++ b/tap-wspstat.c
@@ -40,6 +40,7 @@
#include <string.h>
#include "epan/packet_info.h"
#include <epan/tap.h>
+#include "stat.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);
}