[svn-commits] simon.perreault: branch group/v6-new r266685 - /team/group/v6-new/channels/
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Tue Jun 1 11:59:11 CDT 2010
Author: simon.perreault
Date: Tue Jun 1 11:59:09 2010
New Revision: 266685
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=266685
Log:
No need to initialize the port to zero with the new IPv6 API.
Modified:
team/group/v6-new/channels/chan_sip.c
Modified: team/group/v6-new/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/team/group/v6-new/channels/chan_sip.c?view=diff&rev=266685&r1=266684&r2=266685
==============================================================================
--- team/group/v6-new/channels/chan_sip.c (original)
+++ team/group/v6-new/channels/chan_sip.c Tue Jun 1 11:59:09 2010
@@ -25033,8 +25033,6 @@
/* Non-dynamic. Make sure we become that way if we're not */
AST_SCHED_DEL_UNREF(sched, peer->expire,
unref_peer(peer, "removing register expire ref"));
- /* the port will either be set to a default value or a config specified value once all option parsing is complete */
- ast_sockaddr_set_port(&peer->addr, 0);
peer->host_dynamic = FALSE;
srvlookup = v->value;
if (global_dynamic_exclude_static) {
More information about the svn-commits
mailing list