Change wildcard_dst to short to reduce the size of struct access_control_list
authorFabian Keil <fk@fabiankeil.de>
Thu, 21 Jan 2021 10:48:52 +0000 (11:48 +0100)
committerFabian Keil <fk@fabiankeil.de>
Thu, 21 Jan 2021 13:00:04 +0000 (14:00 +0100)
project.h

index d82c85d..ffe6d0a 100644 (file)
--- a/project.h
+++ b/project.h
@@ -1358,7 +1358,7 @@ struct access_control_list
    struct access_control_addr src[1];  /**< Client IP address */
    struct access_control_addr dst[1];  /**< Website or parent proxy IP address */
 #ifdef HAVE_RFC2553
    struct access_control_addr src[1];  /**< Client IP address */
    struct access_control_addr dst[1];  /**< Website or parent proxy IP address */
 #ifdef HAVE_RFC2553
-   int wildcard_dst;                   /** < dst address is wildcard */
+   short wildcard_dst;                 /** < dst address is wildcard */
 #endif
 
    short action;                       /**< ACL_PERMIT or ACL_DENY */
 #endif
 
    short action;                       /**< ACL_PERMIT or ACL_DENY */