summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2011-08-09 12:28:35 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2011-08-09 12:28:35 +0200
commit41043f3f0769feb3ef8f826006c6f863b1ae06fa (patch)
treefb1e5293e00ae538092b78288f5828a2fd4b8145 /runtime
parentd788daafa4e8bda5fe544718b5f420f22cd79996 (diff)
parent9bea045e60fa612336ae6a78267284bcec2e9e25 (diff)
downloadrsyslog-41043f3f0769feb3ef8f826006c6f863b1ae06fa.tar.gz
rsyslog-41043f3f0769feb3ef8f826006c6f863b1ae06fa.tar.xz
rsyslog-41043f3f0769feb3ef8f826006c6f863b1ae06fa.zip
Merge branch 'v4-stable' into v5-stable
Diffstat (limited to 'runtime')
-rw-r--r--runtime/net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/net.c b/runtime/net.c
index 789790f6..4781739f 100644
--- a/runtime/net.c
+++ b/runtime/net.c
@@ -722,7 +722,7 @@ static rsRetVal AddAllowedSender(struct AllowedSenders **ppRoot, struct AllowedS
SIN(allowIP.addr.NetAddr)->sin_port = 0;
memcpy(&(SIN(allowIP.addr.NetAddr)->sin_addr.s_addr),
&(SIN6(res->ai_addr)->sin6_addr.s6_addr32[3]),
- sizeof (struct sockaddr_in));
+ sizeof (in_addr_t));
if((iRet = AddAllowedSenderEntry(ppRoot, ppLast, &allowIP,
iSignificantBits))