aboutsummaryrefslogtreecommitdiffstats
path: root/tap-mgcpstat.c
diff options
context:
space:
mode:
Diffstat (limited to 'tap-mgcpstat.c')
-rw-r--r--tap-mgcpstat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tap-mgcpstat.c b/tap-mgcpstat.c
index f8b92b6192..bd96b07468 100644
--- a/tap-mgcpstat.c
+++ b/tap-mgcpstat.c
@@ -235,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_ethereal_tap("mgcp,rtd", mgcpstat_init);
+ register_tap_listener_cmd_arg("mgcp,rtd", mgcpstat_init);
}
}