diff options
-rw-r--r-- | sbin/pfctl/pfctl.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sbin/pfctl/pfctl.c b/sbin/pfctl/pfctl.c index 12dab0c3304..3bc704fa121 100644 --- a/sbin/pfctl/pfctl.c +++ b/sbin/pfctl/pfctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pfctl.c,v 1.278 2008/08/31 20:18:17 jmc Exp $ */ +/* $OpenBSD: pfctl.c,v 1.279 2009/02/16 23:53:59 sthen Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -1352,8 +1352,7 @@ pfctl_load_rule(struct pfctl *pf, char *path, struct pf_rule *r, int depth) if (pf->opts & PF_OPT_VERBOSE) { INDENT(depth, !(pf->opts & PF_OPT_VERBOSE2)); - print_rule(r, r->anchor ? r->anchor->name : "", - pf->opts & PF_OPT_VERBOSE2); + print_rule(r, name, pf->opts & PF_OPT_VERBOSE2); } path[len] = '\0'; pfctl_clear_pool(&r->rpool); |