Fix mod-blacklist (really, all of SAR) not working on BSDs.
authorMichael Poole <mdpoole@troilus.org>
Tue, 11 Aug 2009 03:53:19 +0000 (23:53 -0400)
committerMichael Poole <mdpoole@troilus.org>
Tue, 11 Aug 2009 03:53:19 +0000 (23:53 -0400)
commitd1d47b28b63d04bb4010a1e459853f4766a92a13
tree2750c8091854f2a7308156e8d85d4e09c8236200
parent99b1d1ee2e6b9c0e77df58a5a0f35215c07b676f
Fix mod-blacklist (really, all of SAR) not working on BSDs.

Fixes SF bug #2817939, reported by sky5.

src/sar.c (ipv4_pton): Set the sockaddr length field when it exists.
  (ipv6_pton): Likewise.
src/sar.c