summaryrefslogtreecommitdiffstats
path: root/runtime/net.c
diff options
context:
space:
mode:
authorAndre Lorbach <alorbach@adiscon.com>2011-08-10 11:23:45 +0200
committerAndre Lorbach <alorbach@adiscon.com>2011-08-10 11:23:45 +0200
commitcf7ae32214eefe6e60267dc68cadf17122173f1d (patch)
tree4bcc28c4002149981a879df8f46d1fb73effd30f /runtime/net.c
parentf7ad5aeff03833879957ef00136610d1138a7212 (diff)
parent1d856763f9a3f078af7f066867ae88c59286285c (diff)
downloadrsyslog-cf7ae32214eefe6e60267dc68cadf17122173f1d.tar.gz
rsyslog-cf7ae32214eefe6e60267dc68cadf17122173f1d.tar.bz2
rsyslog-cf7ae32214eefe6e60267dc68cadf17122173f1d.zip
Merge branch 'v5-stable' into v5-devel
Diffstat (limited to 'runtime/net.c')
-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))