aboutsummaryrefslogtreecommitdiffstats
path: root/tap-rpcstat.c
diff options
context:
space:
mode:
Diffstat (limited to 'tap-rpcstat.c')
-rw-r--r--tap-rpcstat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tap-rpcstat.c b/tap-rpcstat.c
index cfd4cc3827..171dc64f7e 100644
--- a/tap-rpcstat.c
+++ b/tap-rpcstat.c
@@ -42,6 +42,7 @@
#include "epan/packet_info.h"
#include <epan/tap.h>
#include <epan/dissectors/packet-rpc.h>
+#include "stat.h"
#include "register.h"
/* used to keep track of statistics for a specific procedure */
@@ -360,6 +361,6 @@ rpcstat_init(const char *optarg)
void
register_tap_listener_rpcstat(void)
{
- register_tap_listener_cmd_arg("rpc,rtt,", rpcstat_init);
+ register_stat_cmd_arg("rpc,rtt,", rpcstat_init);
}