[asterisk-commits] dvossel: trunk r222947 - /trunk/channels/chan_sip.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Oct 8 15:53:19 CDT 2009
Author: dvossel
Date: Thu Oct 8 15:53:14 2009
New Revision: 222947
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=222947
Log:
makes externtcpport and externtlsport static variables
externtcpport and externtlsport need to be declared as static
variables. Thanks to russell for finding and pointing this out.
Modified:
trunk/channels/chan_sip.c
Modified: trunk/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/chan_sip.c?view=diff&rev=222947&r1=222946&r2=222947
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Thu Oct 8 15:53:14 2009
@@ -2329,8 +2329,8 @@
static time_t externexpire; /*!< Expiration counter for re-resolving external host name in dynamic DNS */
static int externrefresh = 10; /*!< Refresh timer for DNS-based external address (dyndns) */
static struct sockaddr_in stunaddr; /*!< stun server address */
-uint16_t externtcpport = STANDARD_SIP_PORT; /*!< external tcp port */
-uint16_t externtlsport = STANDARD_TLS_PORT; /*!< external tls port */
+static uint16_t externtcpport; /*!< external tcp port */
+static uint16_t externtlsport; /*!< external tls port */
/*! \brief List of local networks
* We store "localnet" addresses from the config file into an access list,
More information about the asterisk-commits
mailing list