summaryrefslogtreecommitdiff
path: root/net/ser/files/patch-modules::tm::t_lookup.c
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2006-04-21 06:30:43 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2006-04-21 06:30:43 +0000
commitdfa121d9d966b38ff43f26fb1ce7a474f2e26cb5 (patch)
tree33a992c0c31ed5427e8c08d35b0c007099d52957 /net/ser/files/patch-modules::tm::t_lookup.c
parentRequire perl from ports. (diff)
Merge in latest local changes and improvements:
o Allow radius and presence modules to be turned off; o don't override CFLAGS; o don't duplicate error messages to the console; o postgresql backend doesn't set NULL flag on results properly, so that don't use VAL_NULL() macros on them; o reconnect to MySQL db when necessary; o relax transaction matching rules, so that it works with wider range of phones; o add some missed sanity checks in usrloc; o ignore incoming UDP messages that are shorter than certain limin (128 bytes). They cannot be SIP messages anyway.
Notes
Notes: svn path=/head/; revision=160058
Diffstat (limited to 'net/ser/files/patch-modules::tm::t_lookup.c')
-rw-r--r--net/ser/files/patch-modules::tm::t_lookup.c19
1 files changed, 15 insertions, 4 deletions
diff --git a/net/ser/files/patch-modules::tm::t_lookup.c b/net/ser/files/patch-modules::tm::t_lookup.c
index e64315689ec4..18a3ddf1abf4 100644
--- a/net/ser/files/patch-modules::tm::t_lookup.c
+++ b/net/ser/files/patch-modules::tm::t_lookup.c
@@ -1,9 +1,9 @@
$FreeBSD$
---- modules/tm/t_lookup.c.orig Fri Jul 16 00:18:34 2004
-+++ modules/tm/t_lookup.c Tue Jul 27 21:01:37 2004
-@@ -97,8 +97,8 @@
+--- modules/tm/t_lookup.c.orig
++++ modules/tm/t_lookup.c
+@@ -103,8 +103,8 @@
#include "t_msgbuilder.h" /* for t_lookup_callid */
#define EQ_VIA_LEN(_via)\
@@ -14,7 +14,7 @@ $FreeBSD$
-@@ -116,7 +116,7 @@
+@@ -122,7 +122,7 @@
#define EQ_VIA_STR(_via)\
( memcmp( t_msg->_via->name.s,\
p_msg->_via->name.s,\
@@ -23,3 +23,14 @@ $FreeBSD$
)==0 )
+@@ -264,8 +264,10 @@
+ if (memcmp(inv_via->host.s, ack_via->host.s,
+ ack_via->host.len)!=0)
+ return 0;
++#if 0
+ if (inv_via->port!=ack_via->port)
+ return 0;
++#endif
+ if (inv_via->transport.len!=ack_via->transport.len)
+ return 0;
+ if (memcmp(inv_via->transport.s, ack_via->transport.s,