main #1

Merged
solene merged 9 commits from prx/iblock:main into main 2022-08-22 14:02:24 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 9b755ab627 - Show all commits

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;