diff options
Diffstat (limited to 'tap-mgcpstat.c')
-rw-r--r-- | tap-mgcpstat.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tap-mgcpstat.c b/tap-mgcpstat.c index bb38620bb1..9f01a523f7 100644 --- a/tap-mgcpstat.c +++ b/tap-mgcpstat.c @@ -36,6 +36,7 @@ #include "epan/packet_info.h" #include <epan/tap.h> #include "epan/value_string.h" +#include "stat.h" #include "register.h" #include "plugins/mgcp/packet-mgcp.h" #include "timestats.h" @@ -234,7 +235,7 @@ register_tap_listener_mgcpstat(void) { /* We don't register this tap, if we don't have the mgcp plugin loaded.*/ if (find_tap_id("mgcp")) { - register_tap_listener_cmd_arg("mgcp,rtd", mgcpstat_init); + register_stat_cmd_arg("mgcp,rtd", mgcpstat_init); } } |