summaryrefslogtreecommitdiff
path: root/modules/pcp
diff options
context:
space:
mode:
authorAlfred E. Heggestad <alfred.heggestad@gmail.com>2017-07-29 20:51:07 +0200
committerAlfred E. Heggestad <alfred.heggestad@gmail.com>2017-07-29 20:51:07 +0200
commit8d6fc2f28092dffed6ee50ee08ad67188d3fb160 (patch)
treeb68e7841389b9710eba3a4e08e7773a141858179 /modules/pcp
parent889e0b3aa175dd49d0581d34396236d97ffa7b60 (diff)
update TODOs
Diffstat (limited to 'modules/pcp')
-rw-r--r--modules/pcp/pcp.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/pcp/pcp.c b/modules/pcp/pcp.c
index 601e1be..4fbc41c 100644
--- a/modules/pcp/pcp.c
+++ b/modules/pcp/pcp.c
@@ -336,15 +336,13 @@ static int module_init(void)
info("pcp: using PCP server at %J\n", &pcp_srv);
-#if 1
- /* todo: if multiple applications are listening on port 5350
+ /* NOTE: if multiple applications are listening on port 5350
then this will not work */
err = pcp_listen(&lsnr, &pcp_srv, pcp_msg_handler, 0);
if (err) {
info("pcp: could not enable listener: %m\n", err);
err = 0;
}
-#endif
return mnat_register(&mnat, baresip_mnatl(), "pcp", NULL,
session_alloc, media_alloc, NULL);