This commit is contained in:
prx 2022-08-22 14:56:35 +02:00
parent 28eb2bfbeb
commit 9b755ab627
1 changed files with 1 additions and 1 deletions

2
main.c
View File

@ -44,7 +44,7 @@ int main(int argc, char *argv[]){
syslog(LOG_DAEMON, "blocking %s", ip);
switch (sock.ss_family) {
case AF_INET: /* FALLTHROUGHT */
case AF_INET: /* FALLTHROUGH */
case AF_INET6:
execlp("/usr/bin/doas", "doas", "/sbin/pfctl", "-t", table, "-T", "add", ip, NULL);
break;