Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Nov 2016 18:41:43 +0000 (UTC)
From:      Kristof Provost <kp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r308486 - head/sbin/pfctl
Message-ID:  <201611101841.uAAIfhDv082647@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611101841.uAAIfhDv082647>