[Freeswitch-svn] [commit] r7233 - freeswitch/trunk/src

Freeswitch SVN mikej at freeswitch.org
Mon Jan 14 22:28:09 EST 2008


Author: mikej
Date: Mon Jan 14 22:28:09 2008
New Revision: 7233

Modified:
   freeswitch/trunk/src/switch_utils.c

Log:
null is not a lan address

Modified: freeswitch/trunk/src/switch_utils.c
==============================================================================
--- freeswitch/trunk/src/switch_utils.c	(original)
+++ freeswitch/trunk/src/switch_utils.c	Mon Jan 14 22:28:09 2008
@@ -356,7 +356,7 @@
 
 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) &&



More information about the Freeswitch-svn mailing list