[Asterisk-cvs] asterisk/channels chan_sip.c,1.383,1.384
markster at lists.digium.com
markster at lists.digium.com
Wed May 12 13:20:25 CDT 2004
Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv30804/channels
Modified Files:
chan_sip.c
Log Message:
Minor cleanups (bug #1618 included)
Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.383
retrieving revision 1.384
diff -u -d -r1.383 -r1.384
--- chan_sip.c 12 May 2004 00:17:31 -0000 1.383
+++ chan_sip.c 12 May 2004 17:30:55 -0000 1.384
@@ -467,7 +467,6 @@
static struct sockaddr_in bindaddr;
-static struct sockaddr_in localnet;
static struct sockaddr_in externip;
static struct ast_ha *localaddr;
@@ -7195,7 +7194,6 @@
sip_prefs_free();
memset(&bindaddr, 0, sizeof(bindaddr));
- memset(&localnet, 0, sizeof(localnet));
memset(&localaddr, 0, sizeof(localaddr));
memset(&externip, 0, sizeof(externip));
@@ -7274,7 +7272,7 @@
else
localaddr = na;
} else if (!strcasecmp(v->name, "localmask")) {
- ast_log(LOG_WARNING, "Use of localmask is deprecated; use localnet with mask syntax\n");
+ ast_log(LOG_WARNING, "Use of localmask is no long supported -- use localnet with mask syntax\n");
} else if (!strcasecmp(v->name, "externip")) {
if (!(hp = ast_gethostbyname(v->value, &ahp)))
ast_log(LOG_WARNING, "Invalid address for externip keyword: %s\n", v->value);
More information about the svn-commits
mailing list