On Wed, Feb 26, 2003 at 07:29:12PM +0100, Henning Brauer wrote: > On Wed, Feb 26, 2003 at 12:52:59AM +0100, Henning Brauer wrote: > > hmm indeed. I have to check that. > found it. > scary is not enough a word for that bug. > commit in a few.
it's in. Index: parse.y =================================================================== RCS file: /cvs/src/sbin/pfctl/parse.y,v retrieving revision 1.331 retrieving revision 1.332 diff -u -r1.331 -r1.332 --- parse.y 25 Feb 2003 20:59:09 -0000 1.331 +++ parse.y 26 Feb 2003 20:27:20 -0000 1.332 @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.331 2003/02/25 20:59:09 henning Exp $ */ +/* $OpenBSD: parse.y,v 1.332 2003/02/26 20:27:20 henning Exp $ */ /* * Copyright (c) 2001 Markus Friedl. All rights reserved. @@ -3296,6 +3296,8 @@ expand_label(r->label, r->ifname, r->af, src_host, src_port, dst_host, dst_port, proto->proto); r->qid = qname_to_qid(r->qname, r->ifname); + if ((r->pqid = qname_to_qid(r->pqname, r->ifname)) == 0) + r->pqid = r->qid; r->ifnot = interface->not; r->proto = proto->proto; r->src.addr = src_host->addr; -- Henning Brauer, BS Web Services, http://bsws.de [EMAIL PROTECTED] - [EMAIL PROTECTED] Unix is very simple, but it takes a genius to understand the simplicity. (Dennis Ritchie)