From: Alan T. DeKok Date: Tue, 15 Nov 2016 18:32:48 +0000 (-0500) Subject: filters might as well be uint8_t. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4003d8564325fc53be9e91aa332538a916a7049;p=thirdparty%2Ffreeradius-server.git filters might as well be uint8_t. We don't access them as anything else. --- diff --git a/src/include/pair.h b/src/include/pair.h index 6ab7c1dc27b..9281977c1ca 100644 --- a/src/include/pair.h +++ b/src/include/pair.h @@ -72,8 +72,7 @@ struct value_data { struct in_addr ipaddr; //!< IPv4 Address. uint32_t date; //!< Date (32bit Unix timestamp). - size_t filter[32/sizeof(size_t)]; //!< Ascend binary format a packed data - //!< structure. + uint8_t filter[32]; //!< Ascend binary format a packed data structure. uint8_t ifid[8]; //!< IPv6 interface ID (should be struct?). struct in6_addr ipv6addr; //!< IPv6 Address.