summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2011-08-09 12:31:32 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2011-08-09 12:31:32 +0200
commitec1f816dae971ee66eff49bb07da352a524df0b6 (patch)
tree6d13c37e521f2c0b023ab5bda251db47e33e8109 /runtime
parentd6b6b30c189bf8ea78b59b8b4d3008d1f89ef1b3 (diff)
parentd28f4610657672220999eacd5aa2f5a25d994c42 (diff)
downloadrsyslog-ec1f816dae971ee66eff49bb07da352a524df0b6.tar.gz
rsyslog-ec1f816dae971ee66eff49bb07da352a524df0b6.tar.xz
rsyslog-ec1f816dae971ee66eff49bb07da352a524df0b6.zip
Merge branch 'v5-stable' into v5-devel
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))