diff options
author | Camiel Dobbelaar <camield@cvs.openbsd.org> | 2003-01-19 09:31:35 +0000 |
---|---|---|
committer | Camiel Dobbelaar <camield@cvs.openbsd.org> | 2003-01-19 09:31:35 +0000 |
commit | df1e5f78701d59ffc5020fa9fb36912fc61f035c (patch) | |
tree | 6a895849aab8ab28700275b62c57f026ea09d7a2 /sbin/pfctl/pfctl_parser.c | |
parent | 470003b03c575f748c08f066e70b9147ca778dbe (diff) |
Quote label in rule output.
ok henning dhartmei
Diffstat (limited to 'sbin/pfctl/pfctl_parser.c')
-rw-r--r-- | sbin/pfctl/pfctl_parser.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/pfctl/pfctl_parser.c b/sbin/pfctl/pfctl_parser.c index 6c4207df101..fee7cce076f 100644 --- a/sbin/pfctl/pfctl_parser.c +++ b/sbin/pfctl/pfctl_parser.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pfctl_parser.c,v 1.131 2003/01/18 17:39:37 henning Exp $ */ +/* $OpenBSD: pfctl_parser.c,v 1.132 2003/01/19 09:31:34 camield Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -932,7 +932,7 @@ print_filter(struct pf_rule *r, int verbose) printf("fragment reassemble "); } if (r->label[0]) - printf("label %s ", r->label); + printf("label \"%s\" ", r->label); if (r->qname[0] && r->pqname[0]) printf("queue(%s, %s) ", r->qname, r->pqname); else if (r->qname[0]) |