Re: [syslog-ng]Linefeed in incoming messages
26 Apr
2001
26 Apr
'01
6:04 p.m.
In doing some further debugging to the hack I posted to work around the logging problems with the Cisco VPN3000 I discovered some changes that need to be made to not break TCP-based logging. Here's the updated code, with the existing prefix line for positioning: closure->pos += n; start = closure->buffer + 1; eol = closure->buffer + closure->pos - 1; while (start++ < eol) if ((start[-1] == 0x0a) && (start[0] != 0x3c)) start[-1] = ' '; Sorry about that... -- Michael Garvin mailto:mgarvin@carolinabroadband.com
8930
Age (days ago)
8930
Last active (days ago)
0 comments
1 participants
participants (1)
-
Michael.Garvin@carolinabroadband.com