From: Aki Tuomi Date: Thu, 23 May 2024 07:10:18 +0000 (+0300) Subject: lib: Use sa_family_t in struct ip_addr X-Git-Tag: 2.4.0~1641 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=78b7811eba3724f18a0e5f4a5e5cee08ca260522;p=thirdparty%2Fdovecot%2Fcore.git lib: Use sa_family_t in struct ip_addr --- diff --git a/src/lib/net.h b/src/lib/net.h index 8bd0ca6da8..bf773fd143 100644 --- a/src/lib/net.h +++ b/src/lib/net.h @@ -19,7 +19,7 @@ #endif struct ip_addr { - unsigned short family; + sa_family_t family; union { struct in6_addr ip6; struct in_addr ip4;