Author: kp
Date: Thu Nov 10 18:41:43 2016
New Revision: 308486
URL: https://svnweb.freebsd.org/changeset/base/308486

Log:
  pfctl: fix nested inline anchors
  
  Import the OpenBSD fix for nested inline anchors.
  
  PR:           196314
  Submitted by: kri...@cflinux.hu
  Obtained from:        OpenBSD

Modified:
  head/sbin/pfctl/pfctl.c

Modified: head/sbin/pfctl/pfctl.c
==============================================================================
--- head/sbin/pfctl/pfctl.c     Thu Nov 10 18:36:40 2016        (r308485)
+++ head/sbin/pfctl/pfctl.c     Thu Nov 10 18:41:43 2016        (r308486)
@@ -1339,7 +1339,7 @@ pfctl_load_rule(struct pfctl *pf, char *
                        else
                                snprintf(&path[len], MAXPATHLEN - len,
                                    "%s", r->anchor->name);
-                       name = path;
+                       name = r->anchor->name;
                } else
                        name = r->anchor->path;
        } else
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to