From e6dac0923ad31d1beaa8451ead3ec25c6c7b980b Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Thu, 8 Feb 2007 21:21:12 +0000 Subject: [PATCH] don't use a few more blocks either. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4173 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_dingaling/mod_dingaling.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mod/endpoints/mod_dingaling/mod_dingaling.c b/src/mod/endpoints/mod_dingaling/mod_dingaling.c index 7c9a0e8da4..3c111db1d2 100644 --- a/src/mod/endpoints/mod_dingaling/mod_dingaling.c +++ b/src/mod/endpoints/mod_dingaling/mod_dingaling.c @@ -2551,6 +2551,8 @@ static ldl_status handle_signalling(ldl_handle_t *handle, ldl_session_t *dlsessi (strncasecmp(candidates[x].address, "10.", 3) && strncasecmp(candidates[x].address, "192.168.", 8) && strncasecmp(candidates[x].address, "127.", 4) && + strncasecmp(candidates[x].address, "255.", 4) && + strncasecmp(candidates[x].address, "0.", 2) && strncasecmp(candidates[x].address, "1.", 2) && strncasecmp(candidates[x].address, "2.", 2) && strncasecmp(candidates[x].address, "172.16.", 7) && @@ -2560,6 +2562,7 @@ static ldl_status handle_signalling(ldl_handle_t *handle, ldl_session_t *dlsessi strncasecmp(candidates[x].address, "172.2", 5) && strncasecmp(candidates[x].address, "172.30.", 7) && strncasecmp(candidates[x].address, "172.31.", 7) && + strncasecmp(candidates[x].address, "192.0.2.", 8) && // 192.0.0.0 - 192.0.127.255 is marked as reserved, should we filter all of them? strncasecmp(candidates[x].address, "169.254.", 8) ))) { ldl_payload_t payloads[5];