summaryrefslogtreecommitdiffstats
path: root/syslogd.c
diff options
context:
space:
mode:
Diffstat (limited to 'syslogd.c')
-rw-r--r--syslogd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/syslogd.c b/syslogd.c
index f9163372..9ba767f3 100644
--- a/syslogd.c
+++ b/syslogd.c
@@ -2031,6 +2031,8 @@ char *MsgGetProp(struct msg *pMsg, struct templateEntry *pTpe, unsigned short *p
pRes = getRawMsg(pMsg);
} else if(!strcmp(pName, "UxTradMsg")) {
pRes = getUxTradMsg(pMsg);
+ } else if(!strcmp(pName, "FROMHOST")) {
+ pRes = getRcvFrom(pMsg);
} else if(!strcmp(pName, "source")
|| !strcmp(pName, "HOSTNAME")) {
pRes = getHOSTNAME(pMsg);