From df1e5f78701d59ffc5020fa9fb36912fc61f035c Mon Sep 17 00:00:00 2001 From: Camiel Dobbelaar Date: Sun, 19 Jan 2003 09:31:35 +0000 Subject: Quote label in rule output. ok henning dhartmei --- sbin/pfctl/pfctl_parser.c | 4 ++-- 1 file 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]) -- cgit v1.2.3