summaryrefslogtreecommitdiffstats
path: root/plugins/imptcp/imptcp.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-09-26 16:23:03 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2012-09-26 16:23:03 +0200
commit203ce7a749f6e93eca05c02881402381f21fe6ed (patch)
tree69b64e424e95e19e2ba646f4e6af8a837e979456 /plugins/imptcp/imptcp.c
parent7366f115aeaca7b7ae4e777f4da86dca42c3dba4 (diff)
downloadrsyslog-203ce7a749f6e93eca05c02881402381f21fe6ed.tar.gz
rsyslog-203ce7a749f6e93eca05c02881402381f21fe6ed.tar.bz2
rsyslog-203ce7a749f6e93eca05c02881402381f21fe6ed.zip
imudp: implement support for input()
Diffstat (limited to 'plugins/imptcp/imptcp.c')
-rw-r--r--plugins/imptcp/imptcp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/imptcp/imptcp.c b/plugins/imptcp/imptcp.c
index ec0bc6bd..9992ee20 100644
--- a/plugins/imptcp/imptcp.c
+++ b/plugins/imptcp/imptcp.c
@@ -1420,6 +1420,8 @@ CODESTARTnewInpInst
continue;
if(!strcmp(inppblk.descr[i].name, "port")) {
inst->pszBindPort = (uchar*)es_str2cstr(pvals[i].val.d.estr, NULL);
+ } else if(!strcmp(inppblk.descr[i].name, "address")) {
+ inst->pszBindAddr = (uchar*)es_str2cstr(pvals[i].val.d.estr, NULL);
} else if(!strcmp(inppblk.descr[i].name, "name")) {
inst->pszInputName = (uchar*)es_str2cstr(pvals[i].val.d.estr, NULL);
} else if(!strcmp(inppblk.descr[i].name, "ruleset")) {