From c7d831a98a862211c16bdf2d8c5c0398d2d05b1c Mon Sep 17 00:00:00 2001 From: Yosh Marklund Date: Tue, 19 Nov 2024 13:02:42 +0100 Subject: [PATCH] Extend possible number of ports per port/interface combination from 2 to 8. --- accept-guard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accept-guard.c b/accept-guard.c index b0d8f46..74eadcb 100644 --- a/accept-guard.c +++ b/accept-guard.c @@ -36,7 +36,7 @@ #define ACL_ENV "ACCEPT_GUARD_ACL" #define IFACE_ANY "any" #define MAX_IFACES (64 * 4) -#define MAX_PORTS 2 +#define MAX_PORTS 8 struct acl { char iface[IF_NAMESIZE];