null is not a lan address

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7233 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2008-01-15 03:28:09 +00:00
parent 71b9b5a51f
commit 36658df019
1 changed files with 1 additions and 1 deletions

View File

@ -356,7 +356,7 @@ SWITCH_DECLARE(switch_bool_t) switch_simple_email(const char *to, const char *fr
SWITCH_DECLARE(switch_bool_t) switch_is_lan_addr(const char *ip)
{
if (switch_strlen_zero(ip)) return SWITCH_FALSE;
return (
strncmp(ip, "10.", 3) &&