summaryrefslogtreecommitdiffstats
path: root/plugins/imudp
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-02-18 08:03:10 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-02-18 08:03:10 +0000
commit37dc5101883283ff2628e899449384154bcb8fcd (patch)
tree9c90c1b0bcdb2c3a1dfd914ed6daf6ca43653794 /plugins/imudp
parent8550278ca48b2953db359e6bb00df562db6961a1 (diff)
downloadrsyslog-37dc5101883283ff2628e899449384154bcb8fcd.tar.gz
rsyslog-37dc5101883283ff2628e899449384154bcb8fcd.tar.xz
rsyslog-37dc5101883283ff2628e899449384154bcb8fcd.zip
- changed interface "printchopped()" so that it looks more like a generic
message submission interface. Part of the ongoing modularization effort. - bugfix: invalid kernel log format -- see bug http://bugzilla.adiscon.com/show_bug.cgi?id=1
Diffstat (limited to 'plugins/imudp')
-rw-r--r--plugins/imudp/imudp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/imudp/imudp.c b/plugins/imudp/imudp.c
index fa9db53a..fa979039 100644
--- a/plugins/imudp/imudp.c
+++ b/plugins/imudp/imudp.c
@@ -190,7 +190,7 @@ CODESTARTrunInput
*/
if(isAllowedSender(pAllowedSenders_UDP,
(struct sockaddr *)&frominet, (char*)fromHostFQDN)) {
- printchopped((char*)fromHost, (char*) pRcvBuf, l, udpLstnSocks[i+1], 1);
+ parseAndSubmitMessage((char*)fromHost, (char*) pRcvBuf, l, MSG_PARSE_HOSTNAME);
} else {
dbgprintf("%s is not an allowed sender\n", (char*)fromHostFQDN);
if(option_DisallowWarning) {