mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-28 16:49:20 +00:00
Add debug log on port mapping add/remove send
This commit is contained in:
parent
92c9faec6e
commit
215b566b2c
1 changed files with 2 additions and 0 deletions
|
|
@ -347,6 +347,7 @@ int upnp_context_send_add_port_binding(LinphoneCore *lc, UpnpPortBinding *port)
|
|||
mapping.protocol = port->protocol;
|
||||
|
||||
port->retry++;
|
||||
upnp_port_binding_log(ORTP_DEBUG, "Adding port binding...", port);
|
||||
ret = upnp_igd_add_port_mapping(lupnp->upnp_igd_ctxt, &mapping);
|
||||
}
|
||||
if(ret != 0) {
|
||||
|
|
@ -377,6 +378,7 @@ int upnp_context_send_remove_port_binding(LinphoneCore *lc, UpnpPortBinding *por
|
|||
mapping.remote_host = "";
|
||||
mapping.protocol = port->protocol;
|
||||
port->retry++;
|
||||
upnp_port_binding_log(ORTP_DEBUG, "Removing port binding...", port);
|
||||
ret = upnp_igd_delete_port_mapping(lupnp->upnp_igd_ctxt, &mapping);
|
||||
}
|
||||
if(ret != 0) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue