- Added syslog-ng.conf.addon as an example for use with syslog-ng
- update to 0.8.0
* added logrotate to Requires
* SuSEfirewall2.siproxd for services
* siproxd-libs.patch
Code to detect libltdl was placed before the code that populates
the library locations.
This caused libltdl to be undetected even after it was installed
locally. The patch moves the library detection code in front of
libltdl detection and also adds standard library (and include)
locations, ie. /usr/local/lib After applying the patch, autogen.sh
needs to be run (which, among other things, rebuilds "configure").
* siproxd-log.c.patch
patch from debian use logger not user
* siproxd-plugin_shortdial.c.patch
fixes warning comparison is always false due to limited range of data type
* siproxd-siproxd.c.patch
fixes the warning by using a more portable method of printing size_t values
* siproxd-sock.c.patch
Fixes compile warning
* siproxd-Makefile.am.patch
* siproxd-configure.in.patch
backported from 0.81.dev
* removed siproxd-md5.patch as fixed in upstream
* siproxd.plugin_fix_bogus_via.c.patch
* added man page for siproxd
* use CFLAGS -Wall only with GCC compiler (patch)
* fixed UA masquerading which was always set ("foobar")- (patch
OBS-URL: https://build.opensuse.org/request/show/74122
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/siproxd?expand=0&rev=13
24 lines
976 B
Diff
24 lines
976 B
Diff
diff -ur siproxd-0.8.1dev.orig/src/plugin_fix_bogus_via.c siproxd-0.8.1dev/src/plugin_fix_bogus_via.c
|
|
--- siproxd-0.8.1dev.orig/src/plugin_fix_bogus_via.c 2010-01-07 12:44:38.000000000 +0100
|
|
+++ siproxd-0.8.1dev/src/plugin_fix_bogus_via.c 2010-11-01 23:07:12.142684601 +0100
|
|
@@ -103,7 +103,7 @@
|
|
|
|
/* Incoming SIP message? */
|
|
DEBUGC(DBCLASS_PLUGIN, "plugin_fix_bogus_via: type=%i", type);
|
|
- if (type == REQTYP_INCOMING) {
|
|
+ if (type == REQTYP_INCOMING ) {
|
|
|
|
if((via = osip_list_get(&(ticket->sipmsg->vias), 0)) == NULL) {
|
|
WARN("no Via header found in incoming SIP message");
|
|
@@ -121,6 +121,9 @@
|
|
if (sip_patch_topvia(ticket) == STS_FAILURE) {
|
|
ERROR("patching inbound Via failed!");
|
|
}
|
|
+ } else {
|
|
+ char *in=inet_ntoa(from.sin_addr);
|
|
+ DEBUGC(DBCLASS_PLUGIN, "plugin_fix_bogus_via: addr %s non in network acl %s", in, plugin_cfg.networks);
|
|
}
|
|
}
|
|
return STS_SUCCESS;
|
|
Solo in siproxd-0.8.1dev/src: tags
|