diff options
author | Michael Biebl <biebl@debian.org> | 2011-08-30 23:48:03 +0200 |
---|---|---|
committer | Michael Biebl <biebl@debian.org> | 2011-08-30 23:48:03 +0200 |
commit | b9d0478eeb8b4f175704e012fcc06069b10e2553 (patch) | |
tree | 0be0af26b2ba76e79ae49f562852ef854393f74f /runtime/net.c | |
parent | 6b2af45bc8b2aa4292e3cf92986c01a728ef4d8c (diff) | |
download | rsyslog-upstream/5.8.4.tar.gz |
Imported Upstream version 5.8.4upstream/5.8.4
Diffstat (limited to 'runtime/net.c')
-rw-r--r-- | runtime/net.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/net.c b/runtime/net.c index 789790f..4781739 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)) |