In gmane.os.openbsd.misc, Andy Lemin wrote:
> Hopefully this is just a quick question and I'm missing something here, but it
> seems that we can no longer use percentages in our PF child queues.  

It hasn't been implemented for the queue rewrite yet.

That said, there is a bug which makes it less obvious than it
should be :-)

Index: parse.y
===================================================================
RCS file: /cvs/src/sbin/pfctl/parse.y,v
retrieving revision 1.646
diff -u -p -r1.646 parse.y
--- parse.y     14 Feb 2015 23:32:41 -0000      1.646
+++ parse.y     26 Feb 2015 16:29:22 -0000
@@ -1364,7 +1364,7 @@ scspec            : bandwidth                             
        {
                        $$.m2 = $1;
                        $$.d = 0;
                        if ($$.m2.bw_percent) {
-                               yyerror("no bandwidth in % yet");
+                               yyerror("no bandwidth in %% yet");
                                YYERROR;
                        }
                }
@@ -1383,7 +1383,7 @@ scspec            : bandwidth                             
        {
                        $$.m2 = $1;
 
                        if ($$.m1.bw_percent || $$.m2.bw_percent) {
-                               yyerror("no bandwidth in % yet");
+                               yyerror("no bandwidth in %% yet");
                                YYERROR;
                        }
                }

Reply via email to