Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:GA
ipsec-tools.6589
fix_plog_initialization.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix_plog_initialization.patch of Package ipsec-tools.6589
[Ipsec-tools-devel] Move ploginit() up to enable logging early on From: Sven Vermeulen <sven.vermeulen@si...> Date: 2013-07-07 08:54:22 Acked-by: Jiri Bohac References: bsc#1002216 Hi all I had some troubles getting labeled ipsec to work and found out I missed (important) logging events generated by the init_avc() method because the ploginit(), which initializes the logging infrastructure, was called after init_avc(). The below patch moves the ploginit() up, allowing these logging events to show up as well. --- a/src/racoon/main.c.orig 2013-07-07 10:51:39.653746834 +0200 +++ b/src/racoon/main.c 2013-07-07 10:51:50.730746858 +0200 @@ -290,6 +290,8 @@ /* NOTREACHED*/ } + ploginit(); + #ifdef DEBUG_RECORD_MALLOCATION DRM_init(); #endif @@ -302,8 +304,6 @@ oakley_dhinit(); compute_vendorids(); - ploginit(); - plog(LLV_INFO, LOCATION, NULL, "%s\n", version); plog(LLV_INFO, LOCATION, NULL, "@(#)" "This product linked %s (http://www.openssl.org/)"
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor