Hello ,
I think  this patch can fix the problem.

diff -u -p pfctl.c.orig  pfctl.c
--- pfctl.c.orig        Thu Aug 10 09:44:35 2017
+++ pfctl.c     Thu Aug 10 09:50:57 2017
@@ -1,4 +1,5 @@
-/*     $OpenBSD: pfctl.c,v 1.339 2017/03/27 17:38:09 benno Exp $ */
+/*     pfctl.c,v 1.339FIX 2017/08/10 19:01:01 Gabriel Nieto
[email protected] */
+/*      $OpenBSD: pfctl.c,v 1.339 2017/03/27 17:38:09 benno Exp $ */
 
/*
  * Copyright (c) 2001 Daniel Hartmeier
@@ -1489,12 +1490,11 @@ pfctl_rules(int dev, char *filename, int opts, int
opt
            sizeof(pf.anchor->path)) >= sizeof(pf.anchor->path))
                errx(1, "pfctl_add_rule: strlcpy");
 
-       if ((p = strrchr(anchorname, '/')) != NULL) {
+       if ((p = strrchr(anchorname, '/')) != NULL)
                if (strlen(p) == 1)
                        errx(1, "pfctl_add_rule: bad anchor name %s",
                            anchorname);
-       } else
-               p = anchorname;
+       p = anchorname;
 
        if (strlcpy(pf.anchor->name, p,
            sizeof(pf.anchor->name)) >= sizeof(pf.anchor->name))
 
Gabriel.




--
View this message in context: 
http://openbsd-archive.7691.n7.nabble.com/authpf-error-failed-to-create-table-Device-busy-tp321195p324748.html
Sent from the openbsd user - misc mailing list archive at Nabble.com.

Reply via email to