From dfa121d9d966b38ff43f26fb1ce7a474f2e26cb5 Mon Sep 17 00:00:00 2001 From: Maxim Sobolev Date: Fri, 21 Apr 2006 06:30:43 +0000 Subject: 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. --- net/ser/files/patch-main.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'net/ser/files/patch-main.c') diff --git a/net/ser/files/patch-main.c b/net/ser/files/patch-main.c index f490905b8b03..00ef167417fd 100644 --- a/net/ser/files/patch-main.c +++ b/net/ser/files/patch-main.c @@ -3,7 +3,7 @@ $FreeBSD$ --- main.c.orig +++ main.c -@@ -249,6 +251,10 @@ +@@ -251,6 +251,10 @@ be default yes, good for trouble-shooting */ int server_signature=1; @@ -14,3 +14,11 @@ $FreeBSD$ /* should ser try to locate outbound interface on multihomed * host? by default not -- too expensive */ +@@ -350,6 +354,7 @@ + void cleanup(show_status) + { + /*clean-up*/ ++ setlogmask(LOG_UPTO(LOG_INFO)); + if (mem_lock) + shm_unlock(); /* hack: force-unlock the shared memory lock in case + some process crashed and let it locked; this will -- cgit v1.2.3