Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:GA
vpnc
vpnc-add-name-to-stderr-log.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File vpnc-add-name-to-stderr-log.diff of Package vpnc
Author: Stefan Seyfried <seife+obs@b1-sytems.com> When called from e.g. NetworkManager, vpnc's stderr log messages are redirected to logfiles where they are sometimes hard to spot, e.g. they appear to be coming from NetworkManager itself. Fix this by prepending "vpnc: " to them. Index: b/config.c =================================================================== --- a/config.c +++ b/config.c @@ -50,10 +50,11 @@ uint16_t opt_nortel_client_id; static void log_to_stderr(int priority __attribute__((unused)), const char *format, ...) { va_list ap; + fprintf(stderr, "vpnc: "); va_start(ap, format); vfprintf(stderr, format, ap); fprintf(stderr, "\n"); va_end(ap); }
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