svn commit: r308486 - head/sbin/pfctl
Kristof Provost
kp at FreeBSD.org
Thu Nov 10 18:41:45 UTC 2016
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: krichy at 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
More information about the svn-src-all
mailing list