Fix compilation when configured with --disable-ipv6-support
authorFabian Keil <fk@fabiankeil.de>
Thu, 27 Nov 2025 12:58:28 +0000 (13:58 +0100)
committerFabian Keil <fk@fabiankeil.de>
Thu, 27 Nov 2025 13:07:21 +0000 (14:07 +0100)
Submitted by Luca Broglio.

filters.c

index d3b3b1a..04fa77f 100644 (file)
--- a/filters.c
+++ b/filters.c
@@ -342,9 +342,11 @@ int acl_addr(const char *aspec, struct access_control_addr *aca)
    char *p;
    char *acl_spec = NULL;
 
+#ifdef HAVE_RFC2553
    mask_data = NULL;
    mask_port = NULL;
    addr_len = 0;
+#endif
 
 #ifdef HAVE_RFC2553
    /* XXX: Depend on ai_family */