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:
parent
71b9b5a51f
commit
36658df019
|
@ -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) &&
|
||||
|
|
Loading…
Reference in New Issue