diff options
author | 2003-01-19 09:31:34 +0000 | |
---|---|---|
committer | 2003-01-19 09:31:34 +0000 | |
commit | ff45dfa89a740808221135d01f3e3459cf3fe25c (patch) | |
tree | 603619485e43eea1391e441b0812973de91e6d21 | |
parent | sync (diff) | |
download | wireguard-openbsd-ff45dfa89a740808221135d01f3e3459cf3fe25c.tar.xz wireguard-openbsd-ff45dfa89a740808221135d01f3e3459cf3fe25c.zip |
Quote label in rule output.
ok henning dhartmei
-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]) |