summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2008-07-03 16:09:35 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2008-07-03 16:09:35 +0000
commit867e0895f223aa48df87498095e9f6ed5b0e863f (patch)
treea69318028e712bf3fece78a94c7562d9aefef6dc /sbin
parentff0e27878987e440bcdb0df63d843fd926384784 (diff)
do not forget to initialize other member of $$ in qname; noted by mark shroyer
ok henning
Diffstat (limited to 'sbin')
-rw-r--r--sbin/pfctl/parse.y4
1 files changed, 3 insertions, 1 deletions
diff --git a/sbin/pfctl/parse.y b/sbin/pfctl/parse.y
index 11e60eeddc8..55c3a755373 100644
--- a/sbin/pfctl/parse.y
+++ b/sbin/pfctl/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.548 2008/06/10 20:55:02 mcbride Exp $ */
+/* $OpenBSD: parse.y,v 1.549 2008/07/03 16:09:34 deraadt Exp $ */
/*
* Copyright (c) 2001 Markus Friedl. All rights reserved.
@@ -3579,9 +3579,11 @@ label : LABEL STRING {
qname : QUEUE STRING {
$$.qname = $2;
+ $$.pqname = NULL;
}
| QUEUE '(' STRING ')' {
$$.qname = $3;
+ $$.pqname = NULL;
}
| QUEUE '(' STRING comma STRING ')' {
$$.qname = $3;