summaryrefslogtreecommitdiff
path: root/sbin/pfctl
diff options
context:
space:
mode:
authorRyan Thomas McBride <mcbride@cvs.openbsd.org>2006-11-01 03:39:25 +0000
committerRyan Thomas McBride <mcbride@cvs.openbsd.org>2006-11-01 03:39:25 +0000
commitfa058e3d54b14dc9fe89dcce35cb12ee9af8e748 (patch)
tree19070606666244e08bdb13f2b67e9579e35ddab7 /sbin/pfctl
parentcda47593c46bae82731a3ace441426d8628dd815 (diff)
Don't recures ALL the time.
Diffstat (limited to 'sbin/pfctl')
-rw-r--r--sbin/pfctl/pfctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/pfctl/pfctl.c b/sbin/pfctl/pfctl.c
index ed3e06cb59b..d77d02fb6fa 100644
--- a/sbin/pfctl/pfctl.c
+++ b/sbin/pfctl/pfctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfctl.c,v 1.251 2006/10/31 23:46:24 mcbride Exp $ */
+/* $OpenBSD: pfctl.c,v 1.252 2006/11/01 03:39:24 mcbride Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -1941,8 +1941,8 @@ main(int argc, char *argv[])
anchoropt[len - 2] = '\0';
else
anchoropt[len - 1] = '\0';
+ opts |= PF_OPT_RECURSE;
}
- opts |= PF_OPT_RECURSE;
if (strlcpy(anchorname, anchoropt,
sizeof(anchorname)) >= sizeof(anchorname))
errx(1, "anchor name '%s' too long",