summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-09-03 15:52:24 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-09-03 15:52:24 +0200
commitea6570c993eee8cb3f3e22ae1d22e1674a3a1bcb (patch)
tree65ff2264d92e4e4c429d23d90adac0fed498c2fc /plugins
parent8cd291a0c9eab23fa020d6560715a32c3370f78b (diff)
parent1e9febaf28ffa1a6107cd0f5f2c0ac0ab2b16830 (diff)
downloadrsyslog-ea6570c993eee8cb3f3e22ae1d22e1674a3a1bcb.tar.gz
rsyslog-ea6570c993eee8cb3f3e22ae1d22e1674a3a1bcb.tar.xz
rsyslog-ea6570c993eee8cb3f3e22ae1d22e1674a3a1bcb.zip
Merge branch 'v4-stable' into v4-beta
Conflicts: ChangeLog configure.ac doc/manual.html
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 718c3090..cd250657 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