summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-09-03 15:53:25 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-09-03 15:53:25 +0200
commit44083dda02f004df3e3552eb00a145fe6e0733af (patch)
tree82a3be6cd91eade4d5d6a344f624c69706d0d3b4 /plugins
parentfa9684d8c6faa8f2e808de9229b254d77844aa2c (diff)
parent5d24e7d8351180c0a81fdb4607d9eb668cfb58ce (diff)
downloadrsyslog-44083dda02f004df3e3552eb00a145fe6e0733af.tar.gz
rsyslog-44083dda02f004df3e3552eb00a145fe6e0733af.tar.xz
rsyslog-44083dda02f004df3e3552eb00a145fe6e0733af.zip
Merge branch 'v4-devel' into beta
Diffstat (limited to 'plugins')
-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 ea41e4f6..0a8920f5 100644
--- a/plugins/imudp/imudp.c
+++ b/plugins/imudp/imudp.c
@@ -210,7 +210,7 @@ processSocket(int fd, struct sockaddr_storage *frominetPrev, int *pbIsPermitted,
/* if we reach this point, we had a good receive and can process the packet received */
/* check if we have a different sender than before, if so, we need to query some new values */
- if(memcmp(&frominet, frominetPrev, socklen) != 0) {
+ if(net.CmpHost(&frominet, frominetPrev, socklen) != 0) {
CHKiRet(net.cvthname(&frominet, fromHost, fromHostFQDN, fromHostIP));
memcpy(frominetPrev, &frominet, socklen); /* update cache indicator */
/* Here we check if a host is permitted to send us