Probably an oversight back in 2003 when this command got zapped.

OK?

Index: pfctl.c
===================================================================
RCS file: /cvs/src/sbin/pfctl/pfctl.c,v
retrieving revision 1.355
diff -u -p -r1.355 pfctl.c
--- pfctl.c     10 Jul 2018 09:30:49 -0000      1.355
+++ pfctl.c     19 Jul 2018 22:25:02 -0000
@@ -2491,7 +2491,7 @@ main(int argc, char *argv[])
                argc -= optind;
                argv += optind;
                ch = *tblcmdopt;
-               mode = strchr("acdefkrz", ch) ? O_RDWR : O_RDONLY;
+               mode = strchr("adefkrz", ch) ? O_RDWR : O_RDONLY;
        } else if (argc != optind) {
                warnx("unknown command line argument: %s ...", argv[optind]);
                usage();

Reply via email to